Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.CalendarTimeMonthsMinus,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.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_latest_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.0009583/0.0009583, allocations: 108.2 kB / 16.42 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.000994/0.0009941, allocations: 188.9 kB / 17.36 MB, free: 5.727 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.216/1.216, 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.311/2.311, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.3e-05, allocations: 6.219 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00205/0.002081, allocations: 1.52 MB / 1.056 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003196, allocations: 0.5461 MB / 1.057 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.003249, allocations: 0 / 1.057 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.897e-05/0.003333, allocations: 11.81 kB / 1.057 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.00343, allocations: 23.86 kB / 1.057 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.004088, allocations: 307.4 kB / 1.057 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.00458, allocations: 0.515 MB / 1.057 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.004632, allocations: 11.92 kB / 1.057 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.004946, allocations: 267.6 kB / 1.058 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.005174, allocations: 143.6 kB / 1.058 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.005272, allocations: 28 kB / 1.058 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.005352, allocations: 28 kB / 1.058 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002134/0.005571, allocations: 270.2 kB / 1.058 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.751e-05/0.005644, allocations: 94.62 kB / 1.058 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.00571, allocations: 35.88 kB / 1.058 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.374e-05/0.005732, allocations: 4 kB / 1.058 GB, free: 3.977 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