Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.00138/0.00138, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 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.133/2.133, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.554e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002544/0.002578, allocations: 1.523 MB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003802, allocations: 0.5438 MB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.003885, allocations: 0 / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.003984, allocations: 7.875 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.0041, allocations: 27.84 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.004962, allocations: 310.3 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.005827, allocations: 0.5189 MB / 0.9543 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.00593, allocations: 7.984 kB / 0.9543 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006878/0.006622, allocations: 275.6 kB / 0.9545 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.00702, allocations: 147.5 kB / 0.9547 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.007136, allocations: 28 kB / 0.9547 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.007226, allocations: 24 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0003119/0.007545, allocations: 270.2 kB / 0.955 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.611e-05/0.007633, allocations: 90.69 kB / 0.9551 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.007746, allocations: 31.94 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.68e-05/0.007789, allocations: 11.88 kB / 0.9551 GB, free: 3.949 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