Power management in several sectors poses the problem of conserving the consumed power while satisfying the imposed conditions It is considered as a proactive control and management of the organization's energy consumption to save use and reduce energy expenses. Therefore, there is an actual need to include smart energy management systems in buildings in order to reduce the consumed energy. In this work, a comparative analysis is presented to evaluate deep and machine-learning approaches in the context of intelligent models for conserving power in smart buildings. The deep learning model is structured by using Deep Neural Networks (DNN), while machine learning models are represented by Random Forest (RF), Support Vector Machine (SVM), K-Nearest Neighbor (K-NN), and Naive Bayes (NB). These models adopt three classes: full (power in full consumption), select (power in partial consumption), and shout down (no power consumption). Moreover, feature reduction methods of Boruta and Principal Component Analysis (PCA) are implemented to reduce the complexity of the models. The proposed models are trained and tested using a measured dataset for a building. Comparison results of the proposed models showed that the Random Forest attracts more attention regarding classification accuracy by 100% and a reasonable classification time of 1.23 seconds. The effectiveness of the comparative analysis which indicating the highest accuracy results for RF makes it as a suitable model to be implemented as an optimal one in real-time power management systems.