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.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 190.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009681/0.0009683, allocations: 94.36 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 10.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1919, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.3655, allocations: 135.8 MB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.3659, allocations: 99.94 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01903/0.3849, allocations: 7.38 MB / 1.04 GB, free: 344 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.385, allocations: 0 / 1.04 GB, free: 344 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.385, allocations: 16 kB / 1.04 GB, free: 328 kB / 0.6823 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.001017/0.386, allocations: 0.6687 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3861, allocations: 8.031 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3862, allocations: 55.36 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.3866, allocations: 330.4 kB / 1.041 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.3867, allocations: 45 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.3867, allocations: 48 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.3877, allocations: 0.5296 MB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3877, allocations: 3.953 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.3878, allocations: 16 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.3878, allocations: 21 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.3886, allocations: 447.8 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.3907, allocations: 1.399 MB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.3915, allocations: 428.6 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.3915, allocations: 16.39 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.392, allocations: 269.2 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.194e-06/0.392, allocations: 0 / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001145/0.3932, allocations: 0.5574 MB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3933, allocations: 63.78 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3935, allocations: 247.8 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.3936, allocations: 53.7 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3937, allocations: 201.2 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3939, allocations: 130.4 kB / 1.045 GB, free: 10.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.3939, allocations: 11.94 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.394, allocations: 350.8 kB / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.3944, allocations: 185.2 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.3949, allocations: 270 kB / 1.046 GB, free: 9.777 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.3952, allocations: 216.8 kB / 1.046 GB, free: 9.559 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3953, allocations: 0 / 1.046 GB, free: 9.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009764/0.3962, allocations: 0.5688 MB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.3963, allocations: 41.64 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3963, allocations: 4 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3963, allocations: 4 kB / 1.047 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.3966, allocations: 75.77 kB / 1.047 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3966, allocations: 4 kB / 1.047 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.397, allocations: 87.81 kB / 1.047 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.3971, allocations: 24 kB / 1.047 GB, free: 8.734 MB / 0.698 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.0002556/0.3973, allocations: 225.7 kB / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.3974, allocations: 31.62 kB / 1.047 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009053/0.3983, allocations: 0.4912 MB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3983, allocations: 7.984 kB / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3983, allocations: 0 / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3983, allocations: 3.984 kB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.4, allocations: 1.133 MB / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4, allocations: 0 / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.4002, allocations: 51.91 kB / 1.049 GB, free: 6.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4002, allocations: 0 / 1.049 GB, free: 6.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.4003, allocations: 11.98 kB / 1.049 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.4003, allocations: 4 kB / 1.049 GB, free: 6.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4003, allocations: 0 / 1.049 GB, free: 6.707 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.4011, allocations: 0.55 MB / 1.05 GB, free: 6.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.4012, allocations: 104.7 kB / 1.05 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.4012, allocations: 12 kB / 1.05 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.4015, allocations: 59.94 kB / 1.05 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.4017, allocations: 72.45 kB / 1.05 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.4017, allocations: 20 kB / 1.05 GB, free: 5.859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001473/0.4019, allocations: 160.5 kB / 1.05 GB, free: 5.699 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4019, allocations: 0 / 1.05 GB, free: 5.699 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004053/0.4023, allocations: 100 kB / 1.05 GB, free: 5.602 MB / 0.698 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.0002478/0.4026, allocations: 151.4 kB / 1.05 GB, free: 5.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009413/0.4035, allocations: 0.5306 MB / 1.051 GB, free: 4.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4035, allocations: 0 / 1.051 GB, free: 4.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.404, allocations: 247.5 kB / 1.051 GB, free: 4.668 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.4043, allocations: 46.41 kB / 1.051 GB, free: 4.625 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4056, allocations: 0.8159 MB / 1.052 GB, free: 3.777 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.4061, allocations: 0.8244 MB / 1.053 GB, free: 2.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.4063, allocations: 59.38 kB / 1.053 GB, free: 2.871 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4064, allocations: 43.42 kB / 1.053 GB, free: 2.828 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/0.4064, allocations: 4 kB / 1.053 GB, free: 2.824 MB / 0.698 GB Notification: Performance of Templates: time 0.4042/0.8106, allocations: 4.358 MB / 1.057 GB, free: 148.8 MB / 0.698 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