Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 177 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 0.7949 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 100.3 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003704, allocations: 11.22 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.5327, allocations: 159.7 MB / 1.379 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.533, allocations: 95.94 kB / 1.379 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03675/0.5698, allocations: 14.22 MB / 1.393 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.018e-06/0.5699, allocations: 4.188 kB / 1.393 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.022e-05/0.5699, allocations: 19.94 kB / 1.393 GB, free: 3.973 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002147/0.5721, allocations: 0.9054 MB / 1.394 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5721, allocations: 8.031 kB / 1.394 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.5724, allocations: 71.25 kB / 1.394 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.5734, allocations: 469.9 kB / 1.394 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.5735, allocations: 45 kB / 1.394 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.5736, allocations: 59.94 kB / 1.394 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.5748, allocations: 0.5661 MB / 1.395 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5748, allocations: 7.938 kB / 1.395 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.5749, allocations: 16 kB / 1.395 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.5749, allocations: 12 kB / 1.395 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5759, allocations: 475.7 kB / 1.395 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.5787, allocations: 1.547 MB / 1.397 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.5797, allocations: 0.502 MB / 1.397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.5798, allocations: 5.5 kB / 1.397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/0.5804, allocations: 330.9 kB / 1.398 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=63): time 2.915e-06/0.5805, allocations: 0 / 1.398 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=63): time 0.00169/0.5822, allocations: 0.6779 MB / 1.398 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.5823, allocations: 119.4 kB / 1.398 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.583, allocations: 456.4 kB / 1.399 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/0.5831, allocations: 53.7 kB / 1.399 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5834, allocations: 257.2 kB / 1.399 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.5836, allocations: 154 kB / 1.399 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.5836, allocations: 16 kB / 1.399 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5838, allocations: 366.8 kB / 1.4 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.5843, allocations: 201.9 kB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.5848, allocations: 336.8 kB / 1.4 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.5853, allocations: 220.9 kB / 1.4 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5853, allocations: 0 / 1.4 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001215/0.5866, allocations: 0.6271 MB / 1.401 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.5866, allocations: 46.89 kB / 1.401 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5866, allocations: 3.938 kB / 1.401 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.5867, allocations: 4 kB / 1.401 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.587, allocations: 88.08 kB / 1.401 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.5871, allocations: 4 kB / 1.401 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.5875, allocations: 87.61 kB / 1.401 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.5876, allocations: 39.97 kB / 1.401 GB, free: 10.95 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.588, allocations: 257.7 kB / 1.402 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5881, allocations: 51.34 kB / 1.402 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.5893, allocations: 0.5981 MB / 1.402 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5893, allocations: 8 kB / 1.402 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.5894, allocations: 0 / 1.402 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5894, allocations: 3.984 kB / 1.402 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.5919, allocations: 1.371 MB / 1.404 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5919, allocations: 0 / 1.404 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.5922, allocations: 63.83 kB / 1.404 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.5922, allocations: 4 kB / 1.404 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.5922, allocations: 15.98 kB / 1.404 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.5922, allocations: 4 kB / 1.404 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5923, allocations: 0 / 1.404 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.5934, allocations: 0.6474 MB / 1.404 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.5936, allocations: 152.2 kB / 1.404 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.931e-05/0.5937, allocations: 15.98 kB / 1.404 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.5941, allocations: 63.95 kB / 1.404 GB, free: 7.602 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.5943, allocations: 92.36 kB / 1.405 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.5943, allocations: 23.98 kB / 1.405 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004026/0.5948, allocations: 331.1 kB / 1.405 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5948, allocations: 7.938 kB / 1.405 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005902/0.5954, allocations: 151.9 kB / 1.405 GB, free: 7.008 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.5972, allocations: 0.7207 MB / 1.406 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.5984, allocations: 0.6009 MB / 1.406 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5984, allocations: 0 / 1.406 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.5989, allocations: 287.1 kB / 1.407 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.5994, allocations: 81.89 kB / 1.407 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.6015, allocations: 1.159 MB / 1.408 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.602, allocations: 0.897 MB / 1.409 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.6024, allocations: 104.5 kB / 1.409 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.6026, allocations: 55.42 kB / 1.409 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of SimCode: time 7.22e-07/0.6026, allocations: 0 / 1.409 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of Templates: time 0.01503/0.6176, allocations: 7.264 MB / 1.416 GB, free: 12.14 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches