Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.001258/0.001258, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.217e-05, allocations: 4.953 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002233/0.002264, allocations: 1.523 MB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003392, allocations: 0.5323 MB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.003452, allocations: 0 / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.61e-05/0.003555, allocations: 15.88 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.003678, allocations: 23.84 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.004372, allocations: 319.3 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.004889, allocations: 0.515 MB / 0.9543 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.004941, allocations: 11.98 kB / 0.9543 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.005263, allocations: 271.6 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.005487, allocations: 141 kB / 0.9547 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.976e-05/0.005576, allocations: 32 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.005641, allocations: 27.94 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002211/0.005867, allocations: 270.2 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.811e-05/0.005921, allocations: 90.69 kB / 0.9551 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.005973, allocations: 31.94 kB / 0.9551 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-05/0.005997, allocations: 4 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calendarTime2016.firstHourSampling) then calendarTime2016.hour = integer(floor((calendarTime2016.unixTimeStampLocal - div(calendarTime2016.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calendarTime2016.hour = if pre(calendarTime2016.hour) == 23 then 0 else pre(calendarTime2016.hour) + 1; end if