Only one building and its customary accessory buildings may hereafter be erected on any lot; provided, however, that within a planned unit development more than one principal building used for residential, institutional, commercial or industrial purposes may be located upon a lot or tract, but such buildings shall not encroach upon the front, side and rear yards required by this ordinance and the open space between buildings measured at the closest point shall not be less than 20 feet for one-story buildings, 30 feet where one or both are two-story buildings, and 40 feet where one or both are three- or more story buildings, except as otherwise provided herein.