Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DemandResponse.Examples.ClientLBNL90,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ene.u|clientAverage.PPre|clientWeather.PPre|relErrAverage.y|relErrWeather.y",fileNamePrefix="Buildings_9_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_9_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.0009268/0.000931, allocations: 111.8 kB / 16.42 MB, free: 6.492 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.001149/0.001149, allocations: 183.2 kB / 17.35 MB, free: 5.742 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.173/1.173, 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.977/1.977, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.756e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.DemandResponse.Examples.ClientLBNL90): time 0.00415/0.004175, allocations: 3.266 MB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003952/0.008139, allocations: 2.962 MB / 0.9575 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.008474, allocations: 15.88 kB / 0.9575 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.009103, allocations: 194.7 kB / 0.9577 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.009611, allocations: 186.8 kB / 0.9579 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.01125, allocations: 0.7872 MB / 0.9586 GB, free: 292 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.0129, allocations: 1.514 MB / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.0134, allocations: 337 kB / 0.9604 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.01408, allocations: 0.5105 MB / 0.9609 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.01463, allocations: 394.5 kB / 0.9613 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.01476, allocations: 100 kB / 0.9614 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.01536, allocations: 351.6 kB / 0.9617 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0007924/0.01617, allocations: 1.117 MB / 0.9628 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0003848/0.01656, allocations: 0.6429 MB / 0.9635 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.01677, allocations: 159.6 kB / 0.9636 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001371/0.01692, allocations: 27.75 kB / 0.9636 GB, free: 11.13 MB / 0.7481 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