Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.3 MB / 261.9 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001278, allocations: 172.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009776/0.0009776, allocations: 94.41 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.274e-05, allocations: 4 kB / 0.788 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.694/0.9094, allocations: 135.8 MB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.9097, allocations: 93.38 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01893/0.9287, allocations: 7.374 MB / 1.032 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9287, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.627e-05/0.9287, allocations: 8 kB / 1.032 GB, free: 8.727 MB / 0.6511 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.001011/0.9297, allocations: 0.6485 MB / 1.032 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9298, allocations: 8.031 kB / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.9299, allocations: 51.44 kB / 1.032 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.9303, allocations: 329.6 kB / 1.033 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.9304, allocations: 40.69 kB / 1.033 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.9305, allocations: 53.38 kB / 1.033 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.9313, allocations: 0.4984 MB / 1.033 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9313, allocations: 3.953 kB / 1.033 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.9314, allocations: 17.75 kB / 1.033 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.9314, allocations: 21 kB / 1.033 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/0.9321, allocations: 394.3 kB / 1.034 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.9342, allocations: 1.408 MB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.9348, allocations: 379.1 kB / 1.035 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.935, allocations: 187.7 kB / 1.036 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.9351, allocations: 8.312 kB / 1.036 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.9355, allocations: 241.8 kB / 1.036 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/0.9355, allocations: 0 / 1.036 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0006472/0.9362, allocations: 366.6 kB / 1.036 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.9362, allocations: 71.27 kB / 1.036 GB, free: 5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.9365, allocations: 248.8 kB / 1.036 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.9365, allocations: 51.52 kB / 1.037 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.9367, allocations: 201.7 kB / 1.037 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/0.9368, allocations: 131.7 kB / 1.037 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.9368, allocations: 14.19 kB / 1.037 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.937, allocations: 345.5 kB / 1.037 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.9373, allocations: 164.5 kB / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.9376, allocations: 254.4 kB / 1.038 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.9379, allocations: 184.2 kB / 1.038 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.9379, allocations: 3.938 kB / 1.038 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007709/0.9387, allocations: 0.5305 MB / 1.038 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.9388, allocations: 37.69 kB / 1.038 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.9388, allocations: 0 / 1.038 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9388, allocations: 4 kB / 1.038 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.9391, allocations: 71.45 kB / 1.038 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.9391, allocations: 7.938 kB / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.9395, allocations: 90.09 kB / 1.038 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.9396, allocations: 26.94 kB / 1.039 GB, free: 3.066 MB / 0.6511 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 () * 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.0001608/0.9397, allocations: 178 kB / 1.039 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.9398, allocations: 35.58 kB / 1.039 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.9405, allocations: 446.6 kB / 1.039 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.9405, allocations: 4 kB / 1.039 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9405, allocations: 0 / 1.039 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.9405, allocations: 7.984 kB / 1.039 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.942, allocations: 1.077 MB / 1.04 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.942, allocations: 0 / 1.04 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.9422, allocations: 54.89 kB / 1.04 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9422, allocations: 0 / 1.04 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.9423, allocations: 11 kB / 1.04 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.9423, allocations: 4 kB / 1.04 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9423, allocations: 0 / 1.04 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.9429, allocations: 0.5046 MB / 1.041 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.943, allocations: 100.7 kB / 1.041 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.9431, allocations: 16.8 kB / 1.041 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.9434, allocations: 58.08 kB / 1.041 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9435, allocations: 73.58 kB / 1.041 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.9436, allocations: 15.75 kB / 1.041 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001459/0.9437, allocations: 160.7 kB / 1.041 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.9437, allocations: 4 kB / 1.041 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003812/0.9441, allocations: 106.6 kB / 1.041 GB, free: 0.7188 MB / 0.6511 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) * 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.0002182/0.9443, allocations: 148.3 kB / 1.041 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.9451, allocations: 491.9 kB / 1.042 GB, free: 212 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9451, allocations: 448 / 1.042 GB, free: 212 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.9454, allocations: 226.7 kB / 1.042 GB, free: 52 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.9457, allocations: 45.62 kB / 1.042 GB, free: 20 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.9467, allocations: 0.5218 MB / 1.043 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.9471, allocations: 0.8243 MB / 1.043 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.9473, allocations: 67.36 kB / 1.044 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.9474, allocations: 35.44 kB / 1.044 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/0.9474, allocations: 0 / 1.044 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of Templates: time 0.008833/0.9563, allocations: 4.384 MB / 1.048 GB, free: 10.3 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches