Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 112.2 kB / 16.43 MB, free: 6.512 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.001235/0.001235, allocations: 183.2 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 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.087/2.087, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.175e-05, allocations: 4.953 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00256/0.00259, allocations: 1.52 MB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003812, allocations: 0.5384 MB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.003891, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.003994, allocations: 7.922 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.004119, allocations: 35.78 kB / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.004992, allocations: 315.2 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.005602, allocations: 0.5072 MB / 0.9543 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.005653, allocations: 4 kB / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.006083, allocations: 279.6 kB / 0.9545 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.006396, allocations: 144.7 kB / 0.9547 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.303e-05/0.006496, allocations: 31.94 kB / 0.9547 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.006567, allocations: 24 kB / 0.9547 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002444/0.006818, allocations: 270.2 kB / 0.955 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.493e-05/0.006889, allocations: 90.67 kB / 0.9551 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.006953, allocations: 31.94 kB / 0.9551 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.512e-05/0.006983, allocations: 7.938 kB / 0.9551 GB, free: 3.973 MB / 0.7325 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