What “occasional” means
Pressure and weight act for as long as the plant is running. Other loads occur only part of the time: wind, snow and ice, earthquake, the reaction force of a discharging safety valve, a pressure surge. Piping codes group them as occasional loads and assess them separately.
Like sustained loads, they are external forces that do not diminish when the pipe deforms. They therefore count as primary loads and not as thermal expansion.