Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 103.5 kB / 16.42 MB, free: 6.457 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.001099/0.001099, allocations: 192.3 kB / 17.36 MB, free: 5.695 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.17/1.17, allocations: 222.9 MB / 241.1 MB, free: 15.05 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.934/1.934, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.685e-05, allocations: 4.391 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002228/0.002254, allocations: 1.736 MB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003368, allocations: 0.6285 MB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.003428, allocations: 4 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.003517, allocations: 7.875 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003628, allocations: 35.78 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.004323, allocations: 366.9 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.004883, allocations: 0.6516 MB / 0.9549 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004993, allocations: 37.09 kB / 0.9549 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.005329, allocations: 307.6 kB / 0.9552 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.005558, allocations: 155.5 kB / 0.9553 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.005642, allocations: 44 kB / 0.9554 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.005715, allocations: 44 kB / 0.9554 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002585/0.005979, allocations: 325.6 kB / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.769e-05/0.006052, allocations: 126.2 kB / 0.9558 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.00611, allocations: 35.94 kB / 0.9559 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.861e-05/0.006133, allocations: 4 kB / 0.9559 GB, free: 3.148 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