Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.DemandResponse.Examples.ClientLBNL90.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DemandResponse.Examples.ClientLBNL90,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ene.u|clientAverage.PPre|clientWeather.PPre|relErrAverage.y|relErrWeather.y",fileNamePrefix="Buildings_11_Buildings.Controls.DemandResponse.Examples.ClientLBNL90") translateModel(Buildings.Controls.DemandResponse.Examples.ClientLBNL90,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ene.u|clientAverage.PPre|clientWeather.PPre|relErrAverage.y|relErrWeather.y",fileNamePrefix="Buildings_11_Buildings.Controls.DemandResponse.Examples.ClientLBNL90") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 107 kB / 16.41 MB, free: 6.359 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.001066/0.001066, allocations: 184.8 kB / 17.35 MB, free: 5.809 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.108/1.108, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.163/2.163, allocations: 469.8 MB / 0.7431 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.307e-05, allocations: 2.281 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.DemandResponse.Examples.ClientLBNL90): time 0.00361/0.003631, allocations: 3.258 MB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.007091, allocations: 2.967 MB / 1.072 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.007274, allocations: 15.88 kB / 1.072 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.007749, allocations: 190.7 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.008082, allocations: 186.8 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.00931, allocations: 0.7902 MB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.01043, allocations: 1.405 MB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.01074, allocations: 225.1 kB / 1.075 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.01117, allocations: 0.5066 MB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.01158, allocations: 402.4 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.01171, allocations: 104 kB / 1.076 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.01213, allocations: 347.7 kB / 1.076 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006721/0.01281, allocations: 1.113 MB / 1.077 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003151/0.01313, allocations: 0.6352 MB / 1.078 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.01328, allocations: 139.6 kB / 1.078 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.204e-05/0.01335, allocations: 39.67 kB / 1.078 GB, free: 1.273 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayType.skipIDayIncrement) then dayType.iDay = pre(dayType.iDay); elseif true then dayType.iDay = mod(pre(dayType.iDay), 7) + 1; end if