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.331/2.331, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001088/0.001088, allocations: 176.9 kB / 487.4 MB, free: 5.047 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.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008933, allocations: 95.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.118e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3307, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.481, allocations: 152.6 MB / 1.355 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/1.482, allocations: 94.92 kB / 1.355 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02646/1.508, allocations: 7.318 MB / 1.362 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.432e-06/1.508, allocations: 3.938 kB / 1.362 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.532e-05/1.508, allocations: 11.69 kB / 1.362 GB, free: 33.74 MB / 0.8386 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.001279/1.509, allocations: 0.6459 MB / 1.363 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.51, allocations: 11.53 kB / 1.363 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/1.51, allocations: 49.98 kB / 1.363 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/1.51, allocations: 332.9 kB / 1.363 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/1.51, allocations: 21.41 kB / 1.363 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/1.51, allocations: 34.89 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000884/1.511, allocations: 376.5 kB / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/1.512, allocations: 451.2 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.512, allocations: 0 / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/1.512, allocations: 3.375 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/1.512, allocations: 16.84 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/1.515, allocations: 1.316 MB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/1.516, allocations: 347 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/1.516, allocations: 180 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.775e-05/1.516, allocations: 11.36 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/1.517, allocations: 231.8 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 3.076e-06/1.517, allocations: 0 / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0007556/1.517, allocations: 332.8 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/1.517, allocations: 62.88 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/1.518, allocations: 221.8 kB / 1.367 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/1.518, allocations: 41.3 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/1.518, allocations: 190.6 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.518, allocations: 116.9 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/1.518, allocations: 0 / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.518, allocations: 351.6 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.518, allocations: 150.5 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/1.519, allocations: 237.1 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/1.519, allocations: 141.2 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.519, allocations: 0 / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008932/1.52, allocations: 460.4 kB / 1.368 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/1.52, allocations: 40.19 kB / 1.368 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.52, allocations: 7.828 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.52, allocations: 3.844 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/1.521, allocations: 73.52 kB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.521, allocations: 7.656 kB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/1.521, allocations: 69.91 kB / 1.368 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/1.521, allocations: 24.97 kB / 1.368 GB, free: 31.41 MB / 0.8386 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.0001904/1.521, allocations: 157.4 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/1.522, allocations: 30.41 kB / 1.369 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/1.522, allocations: 406.9 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.522, allocations: 11.78 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.522, allocations: 0 / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.523, allocations: 3.188 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/1.524, allocations: 0.9839 MB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.524, allocations: 0 / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.525, allocations: 51.05 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.525, allocations: 3.719 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/1.525, allocations: 6.688 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/1.525, allocations: 3.938 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.525, allocations: 0 / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/1.526, allocations: 476.5 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/1.526, allocations: 108.5 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/1.526, allocations: 7.156 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/1.526, allocations: 47.55 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.526, allocations: 77.14 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/1.526, allocations: 20.48 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001468/1.527, allocations: 137.6 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.527, allocations: 4 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006111/1.527, allocations: 76.72 kB / 1.371 GB, free: 30.5 MB / 0.8386 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.0002386/1.527, allocations: 140.5 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008196/1.528, allocations: 461 kB / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.528, allocations: 448 / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/1.529, allocations: 210.4 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/1.529, allocations: 37.03 kB / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/1.53, allocations: 0.5027 MB / 1.372 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/1.531, allocations: 0.8253 MB / 1.373 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002882/1.531, allocations: 60.81 kB / 1.373 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/1.532, allocations: 40.22 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.532, allocations: 0 / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.0114/1.543, allocations: 4.097 MB / 1.377 GB, free: 29.12 MB / 0.8386 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