The action is not completed. It started but didn't come to an end

Perfective would be:
Петя сходил в библиотеку... (went and came back)

Disclaimer: I'm not a grammar guru. Just a native...