Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.3 MB / 405.3 MB, free: 13.38 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.00106/0.00106, allocations: 180.5 kB / 498.1 MB, free: 5.621 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.521/1.521, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009389/0.0009389, allocations: 98.77 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 13.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.5096, allocations: 153.3 MB / 1.373 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5099, allocations: 91.94 kB / 1.373 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5291, allocations: 7.466 MB / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5291, allocations: 0 / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.5291, allocations: 12 kB / 1.38 GB, free: 1.152 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001078/0.5302, allocations: 0.6764 MB / 1.381 GB, free: 428 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5303, allocations: 12.03 kB / 1.381 GB, free: 416 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.5304, allocations: 47.44 kB / 1.381 GB, free: 368 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.5308, allocations: 330.5 kB / 1.381 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.5309, allocations: 37 kB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.531, allocations: 52.34 kB / 1.381 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.5319, allocations: 0.5331 MB / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.532, allocations: 0 / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.532, allocations: 16 kB / 1.382 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.5321, allocations: 24.94 kB / 1.382 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.5329, allocations: 451.7 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.5351, allocations: 1.391 MB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.5359, allocations: 429.9 kB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.5359, allocations: 8.438 kB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005099/0.5365, allocations: 269.3 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 1.693e-06/0.5365, allocations: 0 / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.001154/0.5376, allocations: 0.5613 MB / 1.385 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5377, allocations: 59.84 kB / 1.385 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.5379, allocations: 251.8 kB / 1.385 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.538, allocations: 49.7 kB / 1.385 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5382, allocations: 201.2 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5383, allocations: 130.4 kB / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.5383, allocations: 16 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5385, allocations: 346.8 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.5389, allocations: 185.2 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.5393, allocations: 274 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.5397, allocations: 212.8 kB / 1.386 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5397, allocations: 4 kB / 1.386 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009892/0.5407, allocations: 0.5727 MB / 1.387 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.5408, allocations: 37.69 kB / 1.387 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5408, allocations: 0 / 1.387 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5408, allocations: 4 kB / 1.387 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.5411, allocations: 71.84 kB / 1.387 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5411, allocations: 11.92 kB / 1.387 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.5415, allocations: 87.75 kB / 1.387 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.5416, allocations: 23.94 kB / 1.387 GB, free: 9.57 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0002625/0.5418, allocations: 237.6 kB / 1.387 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.5419, allocations: 31.58 kB / 1.387 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009167/0.5428, allocations: 491.1 kB / 1.388 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5428, allocations: 8 kB / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5428, allocations: 0 / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5428, allocations: 3.984 kB / 1.388 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.5446, allocations: 1.121 MB / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5446, allocations: 0 / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.5448, allocations: 55.84 kB / 1.389 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5448, allocations: 4 kB / 1.389 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.5448, allocations: 15.98 kB / 1.389 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5448, allocations: 0 / 1.389 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5448, allocations: 0 / 1.389 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.5456, allocations: 0.5499 MB / 1.39 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.5457, allocations: 112.7 kB / 1.39 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.5458, allocations: 12 kB / 1.39 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.5461, allocations: 55.94 kB / 1.39 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.5463, allocations: 72.45 kB / 1.39 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.5463, allocations: 16 kB / 1.39 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00014/0.5465, allocations: 168.5 kB / 1.39 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5465, allocations: 0 / 1.39 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003955/0.5469, allocations: 99.98 kB / 1.39 GB, free: 6.438 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002119/0.5471, allocations: 162.5 kB / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009113/0.548, allocations: 0.5267 MB / 1.391 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.548, allocations: 4 kB / 1.391 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.5484, allocations: 247.5 kB / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.5487, allocations: 38.06 kB / 1.391 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.55, allocations: 0.8136 MB / 1.392 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.5504, allocations: 0.8244 MB / 1.393 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.5506, allocations: 59.38 kB / 1.393 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5508, allocations: 39.42 kB / 1.393 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5508, allocations: 0 / 1.393 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of Templates: time 0.00887/0.5597, allocations: 4.362 MB / 1.397 GB, free: 15.34 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches