Despite anticipation that Mr. Ahmadinejad and Mr. Bush would perhaps have a chance encounter inside the United Nations complex , Mr. Ahmadinejad was not in the building for Mr. Bush 's address and did not attend a luncheon given by the secretary general , Kofi Annan .