Sustainable management is a challenging task for large building infrastructures due to the uncertainties associated with daily events as well as the vast yet isolated functionalities. To improve the situation, a sustainable digital twin (DT) model of operation and maintenance for building infrastructures, termed SDTOM-BI, is proposed in this paper. The proposed approach is able to identify critical factors during the in-service phase and achieve sustainable operation and maintenance for building infrastructures: (1) by expanding the traditional ‘factor-energy consumption’ to three parts of ‘factor-event-energy consumption’, which enables the model to backtrack the energy consumption-related factors based on the relevance of the impact of random events; (2) by combining with the Bayesian network (BN) and random forest (RF) in order to make the correlation between factors and results more clear and forecasts more accurate. Finally, the application is illustrated and verified by the application in a real-world gymnasium.