In-plane and out-of-plane oscillations of a homogeneous model of tall building