ZURICH—Siemens is buying U.S. tech company Brightly Software from private equity owner Clearlake Capital for $1.58 billion, the German engineering group said on Monday, its latest move to broaden its software credentials and grow faster than rivals. Siemens Smart Infrastructure, which offers digital systems to manage buildings’ security and energy consumption, is buying Brightly to…