Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, 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.001122/0.001122, 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.172/1.172, 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 1.931/1.931, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.549e-05, allocations: 4.672 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002231/0.002258, allocations: 1.736 MB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003567, allocations: 0.6285 MB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.003638, allocations: 0 / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.838e-05/0.003722, allocations: 11.81 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.003839, allocations: 31.84 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.004566, allocations: 371.2 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006062/0.00518, allocations: 0.6477 MB / 0.9548 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.005318, allocations: 33.09 kB / 0.9549 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.005678, allocations: 315.6 kB / 0.9552 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.005924, allocations: 155.5 kB / 0.9553 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.006006, allocations: 40 kB / 0.9554 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.006084, allocations: 40 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002704/0.00636, allocations: 325.6 kB / 0.9557 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.208e-05/0.006438, allocations: 126.2 kB / 0.9558 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.006498, allocations: 39.94 kB / 0.9559 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.755e-05/0.00652, allocations: 7.938 kB / 0.9559 GB, free: 3.16 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