Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00131/0.00131, allocations: 109.1 kB / 16.42 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.001326/0.001326, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.292/2.292, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.697e-05, allocations: 2.281 kB / 1.055 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.DemandResponse.Examples.ClientLBNL90): time 0.005063/0.005098, allocations: 3.272 MB / 1.058 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004884/0.01, allocations: 2.964 MB / 1.061 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.01052, allocations: 15.88 kB / 1.061 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.01119, allocations: 190.7 kB / 1.061 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.01176, allocations: 174.9 kB / 1.061 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.01354, allocations: 0.7943 MB / 1.062 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.01532, allocations: 1.495 MB / 1.063 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.01583, allocations: 337 kB / 1.064 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.01654, allocations: 0.5144 MB / 1.064 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.01723, allocations: 402.4 kB / 1.064 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.01743, allocations: 100 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.01802, allocations: 359.6 kB / 1.065 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0008399/0.01887, allocations: 1.106 MB / 1.066 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000462/0.01934, allocations: 0.6429 MB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.01963, allocations: 163.6 kB / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001294/0.01977, allocations: 39.62 kB / 1.067 GB, free: 11.22 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