Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_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_latest_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.001245/0.001245, allocations: 115.7 kB / 16.43 MB, free: 6.496 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.001216/0.001216, allocations: 184.9 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.289/2.289, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.803e-05, allocations: 4.328 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002127/0.002153, allocations: 1.516 MB / 1.056 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003302, allocations: 0.5461 MB / 1.057 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.003378, allocations: 3.938 kB / 1.057 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.687e-05/0.003472, allocations: 7.938 kB / 1.057 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003586, allocations: 31.72 kB / 1.057 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.004335, allocations: 318 kB / 1.057 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.004878, allocations: 0.5034 MB / 1.057 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.004929, allocations: 11.98 kB / 1.057 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.005331, allocations: 275.6 kB / 1.058 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.005602, allocations: 143.6 kB / 1.058 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.00571, allocations: 28 kB / 1.058 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.005794, allocations: 24 kB / 1.058 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002171/0.006016, allocations: 274.2 kB / 1.058 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.087e-05/0.006072, allocations: 86.62 kB / 1.058 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.006133, allocations: 35.94 kB / 1.058 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.321e-05/0.006161, allocations: 4 kB / 1.058 GB, free: 4 MB / 0.8262 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