To predict the building energy consumption data more effectively and scientifically, an energy consumption prediction model based on data mining and clustering analysis is proposed. We first apply data mining to the benchmark evaluation of building energy consumption and propose the process of building energy consumption benchmark evaluation. The energy consumption monitoring model identifies building operating energy consumption patterns through clustering, which mines and matches real-time collected energy consumption data. Then, k-means algorithm is adopted to extract typical daily energy patterns, and the cumulative frequency distribution method is also used to determine the energy consumption baseline value for each type of building. The implementation of the proposed data preprocessing system and method in the case analysis verify that the scheme can accurately identify the relevant factors affecting energy consumption. It improves the accuracy of building energy consumption prediction and has high operational efficiency, thus providing managers with auxiliary decision-making for building energy conservation.