Ontario Power Generation (OPG), one of North America’s largest electricity generators has entered into an agreement to buy the former General Motors of Canada's building and surrounding land in the Durham Region to serve as its new corporate headquarters.