Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 111 kB / 16.42 MB, free: 6.527 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.0009255/0.0009256, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.208/1.208, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.397/2.397, allocations: 472.6 MB / 0.7459 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.143e-05, allocations: 4.391 kB / 1.07 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003049/0.003079, allocations: 2.166 MB / 1.072 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.004687, allocations: 0.8805 MB / 1.073 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.004944, allocations: 7.938 kB / 1.073 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.005169, allocations: 59.41 kB / 1.073 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.005401, allocations: 55.45 kB / 1.073 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.006054, allocations: 251.6 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.006851, allocations: 0.5964 MB / 1.074 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.007595, allocations: 439 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.008047, allocations: 267.3 kB / 1.075 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.008408, allocations: 266.9 kB / 1.075 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.008543, allocations: 68 kB / 1.075 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.008714, allocations: 91.98 kB / 1.075 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0004791/0.0092, allocations: 0.6917 MB / 1.076 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.00023/0.009438, allocations: 409.7 kB / 1.076 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.009572, allocations: 75.75 kB / 1.076 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001071/0.009684, allocations: 67.61 kB / 1.076 GB, free: 3.293 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 (118) * Number of variables: 116 (108) Notification: Performance of Bindings: time 0.002177/0.01187, allocations: 2.137 MB / 1.078 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.000276/0.01215, allocations: 175.6 kB / 1.078 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.4657/0.4779, allocations: 1.554 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001585/0.4781, allocations: 109.4 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of Alias: time 0.002643/0.4808, allocations: 2.406 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simplify2: time 8.914e-05/0.4809, allocations: 81.69 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - cooModCon.con1.t_dummy}).