Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 115.6 kB / 16.43 MB, free: 6.473 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.001084/0.001084, allocations: 183.2 kB / 17.36 MB, free: 5.723 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.154/1.154, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.102/2.102, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.646e-05, allocations: 2.281 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002291/0.002317, allocations: 1.738 MB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003519, allocations: 0.6285 MB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.003603, allocations: 0 / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.878e-05/0.003699, allocations: 7.875 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.003821, allocations: 31.8 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008227/0.00466, allocations: 374.7 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.00535, allocations: 0.6438 MB / 1.023 GB, free: 6 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.005469, allocations: 33.09 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/0.005915, allocations: 319.6 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.006216, allocations: 155.5 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.006335, allocations: 40 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006442, allocations: 40 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.000264/0.006712, allocations: 329.5 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 7.093e-05/0.006789, allocations: 126.2 kB / 1.024 GB, free: 4.973 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.006859, allocations: 39.94 kB / 1.024 GB, free: 4.934 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.607e-05/0.006891, allocations: 4 kB / 1.024 GB, free: 4.93 MB / 0.795 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