GLaDOS says in Portal 2 that she was abandoned on a doorstep so maybe they found her as a baby and kept her as a test subject.