Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0009201/0.0009202, allocations: 111.2 kB / 16.42 MB, free: 6.422 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.0008881/0.0008881, allocations: 187.8 kB / 17.36 MB, free: 5.676 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.135/1.135, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.23/2.23, allocations: 469.8 MB / 0.7431 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.651e-05, allocations: 6.219 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001942/0.001966, allocations: 1.523 MB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003002, allocations: 0.5384 MB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.003052, allocations: 0 / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.593e-05/0.003134, allocations: 3.938 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.335e-05/0.003238, allocations: 31.78 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.003854, allocations: 314.7 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.004285, allocations: 491.5 kB / 1.069 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.004326, allocations: 4 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.004625, allocations: 275.6 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.004832, allocations: 139.6 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.004924, allocations: 32 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.005007, allocations: 24 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002195/0.005231, allocations: 274.2 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.394e-05/0.005281, allocations: 86.62 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.005338, allocations: 35.94 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-05/0.005356, allocations: 4 kB / 1.069 GB, free: 9.918 MB / 0.8419 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