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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.23/2.23, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.00127/0.00127, allocations: 187.3 kB / 0.4902 GB, free: 2.219 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.505/1.505, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.0009256/0.0009258, allocations: 106.8 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005138, allocations: 14.28 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4406, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.703, allocations: 154.1 MB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.7034, allocations: 99.92 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.7238, allocations: 7.465 MB / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7239, allocations: 0 / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.7239, allocations: 12 kB / 1.387 GB, free: 7.785 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00124/0.7251, allocations: 0.6726 MB / 1.388 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7252, allocations: 12.52 kB / 1.388 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.7253, allocations: 51.44 kB / 1.388 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.7258, allocations: 335.2 kB / 1.388 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.7259, allocations: 45 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.726, allocations: 52.34 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.7271, allocations: 0.5176 MB / 1.389 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.7271, allocations: 3.938 kB / 1.389 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.7272, allocations: 24 kB / 1.389 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.7272, allocations: 17 kB / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.7281, allocations: 447.7 kB / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.7304, allocations: 1.395 MB / 1.391 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.7313, allocations: 429.6 kB / 1.391 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.676e-05/0.7314, allocations: 8.438 kB / 1.391 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/0.7319, allocations: 269.8 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.732, allocations: 0 / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.001276/0.7332, allocations: 0.5573 MB / 1.392 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.7333, allocations: 67.83 kB / 1.392 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.7336, allocations: 251.7 kB / 1.392 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.7337, allocations: 53.7 kB / 1.392 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.7339, allocations: 189.2 kB / 1.392 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.734, allocations: 130.3 kB / 1.392 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.7341, allocations: 8 kB / 1.392 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.7343, allocations: 354.8 kB / 1.393 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.7347, allocations: 189.2 kB / 1.393 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.7352, allocations: 277.9 kB / 1.393 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.7356, allocations: 204.9 kB / 1.393 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7356, allocations: 4 kB / 1.393 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001006/0.7367, allocations: 0.5687 MB / 1.394 GB, free: 452 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.7367, allocations: 37.92 kB / 1.394 GB, free: 408 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.7367, allocations: 11.98 kB / 1.394 GB, free: 396 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7368, allocations: 4 kB / 1.394 GB, free: 392 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.7371, allocations: 71.83 kB / 1.394 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7371, allocations: 4 kB / 1.394 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.7375, allocations: 87.69 kB / 1.394 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.7375, allocations: 27.98 kB / 1.394 GB, free: 200 kB / 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.0002945/0.7378, allocations: 217.7 kB / 1.394 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.7379, allocations: 39.58 kB / 1.394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.7388, allocations: 0.4911 MB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.7388, allocations: 4 kB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.7389, allocations: 4 kB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.7389, allocations: 7.922 kB / 1.395 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.7406, allocations: 1.125 MB / 1.396 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7406, allocations: 0 / 1.396 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.7408, allocations: 51.91 kB / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.7408, allocations: 0 / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.7408, allocations: 15.92 kB / 1.396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.7408, allocations: 4 kB / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7409, allocations: 4 kB / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.7417, allocations: 0.5384 MB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.7418, allocations: 112.6 kB / 1.397 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.7418, allocations: 16 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.7421, allocations: 51.95 kB / 1.397 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.7423, allocations: 72.45 kB / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.7423, allocations: 23.98 kB / 1.397 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001343/0.7425, allocations: 164.5 kB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7425, allocations: 0 / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003831/0.7429, allocations: 96 kB / 1.397 GB, free: 13.07 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: 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.0002229/0.7431, allocations: 152.3 kB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009284/0.744, allocations: 0.5307 MB / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7441, allocations: 0 / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.7445, allocations: 243.1 kB / 1.398 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.7448, allocations: 48.81 kB / 1.398 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.746, allocations: 0.8043 MB / 1.399 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.7465, allocations: 0.8322 MB / 1.4 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.7467, allocations: 59.38 kB / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7468, allocations: 43.42 kB / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.7468, allocations: 0 / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of Templates: time 0.009236/0.7561, allocations: 4.356 MB / 1.404 GB, free: 5.996 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches