Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 111.2 kB / 16.43 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009839, allocations: 183.8 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.258/2.258, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.279e-05, allocations: 5.234 kB / 1.055 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002335/0.002365, allocations: 1.52 MB / 1.056 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003563, allocations: 0.5558 MB / 1.057 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.003643, allocations: 0 / 1.057 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.986e-05/0.00374, allocations: 3.938 kB / 1.057 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.003854, allocations: 27.8 kB / 1.057 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.004664, allocations: 314.3 kB / 1.057 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.005239, allocations: 0.5111 MB / 1.057 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.005289, allocations: 7.984 kB / 1.057 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.005693, allocations: 279.6 kB / 1.058 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.005977, allocations: 139.6 kB / 1.058 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.006092, allocations: 24 kB / 1.058 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.006199, allocations: 32 kB / 1.058 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.000224/0.006428, allocations: 274.2 kB / 1.058 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.222e-05/0.006487, allocations: 86.62 kB / 1.058 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.006549, allocations: 35.94 kB / 1.058 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.212e-05/0.006576, allocations: 0 / 1.058 GB, free: 4.016 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calTim.firstHourSampling) then calTim.hour = integer(floor((calTim.unixTimeStampLocal - div(calTim.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calTim.hour = if pre(calTim.hour) == 23 then 0 else pre(calTim.hour) + 1; end if