Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, 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.001152/0.001153, 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.179/1.179, allocations: 222.9 MB / 241.1 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 1.969/1.969, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.437e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002941/0.002973, allocations: 1.734 MB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.00416, allocations: 0.6263 MB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.004238, allocations: 0 / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.992e-05/0.004325, allocations: 7.875 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.00444, allocations: 35.78 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.005169, allocations: 367.1 kB / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.005751, allocations: 0.6477 MB / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.005854, allocations: 37.09 kB / 0.9549 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.006247, allocations: 319.6 kB / 0.9552 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.006498, allocations: 156.8 kB / 0.9553 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.006598, allocations: 40 kB / 0.9554 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.006677, allocations: 43.94 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000244/0.006926, allocations: 321.6 kB / 0.9557 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.528e-05/0.006998, allocations: 122.2 kB / 0.9558 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.00706, allocations: 39.94 kB / 0.9559 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.077e-05/0.007088, allocations: 8 kB / 0.9559 GB, free: 3.168 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calTim.calTim.firstHourSampling) then calTim.calTim.hour = integer(floor((calTim.calTim.unixTimeStampLocal - div(calTim.calTim.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calTim.calTim.hour = if pre(calTim.calTim.hour) == 23 then 0 else pre(calTim.calTim.hour) + 1; end if