(Reuters) – Siemens AG , Europe’s biggest industrial group, has agreed to buy CD-adapco, a privately held U.S. engineering software firm, for close to $1 billion in cash, according to a person familiar with the matter.