Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001136/0.001136, allocations: 177.1 kB / 498.1 MB, free: 5.762 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.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009692/0.0009692, allocations: 104.2 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 20.83 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.348, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/0.6262, allocations: 157.5 MB / 1.377 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/0.6267, allocations: 95.92 kB / 1.377 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03364/0.6603, allocations: 10.1 MB / 1.387 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6604, allocations: 0 / 1.387 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.6604, allocations: 8 kB / 1.387 GB, free: 10.33 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001309/0.6617, allocations: 0.7601 MB / 1.387 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6618, allocations: 12.03 kB / 1.387 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.6619, allocations: 47.44 kB / 1.387 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.6625, allocations: 371 kB / 1.388 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.6626, allocations: 32.64 kB / 1.388 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.6626, allocations: 40 kB / 1.388 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.6635, allocations: 410.7 kB / 1.388 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6635, allocations: 3.953 kB / 1.388 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.6636, allocations: 12 kB / 1.388 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.6636, allocations: 16.59 kB / 1.388 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.6643, allocations: 326.4 kB / 1.389 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.6661, allocations: 1.124 MB / 1.39 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.6668, allocations: 359.2 kB / 1.39 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.6669, allocations: 7.984 kB / 1.39 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.6674, allocations: 247 kB / 1.39 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.6674, allocations: 0 / 1.39 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.001144/0.6686, allocations: 0.5021 MB / 1.391 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.6687, allocations: 110.8 kB / 1.391 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.6691, allocations: 367.5 kB / 1.391 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.6692, allocations: 41.7 kB / 1.391 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.6693, allocations: 212.5 kB / 1.392 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/0.6694, allocations: 98.78 kB / 1.392 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6695, allocations: 8 kB / 1.392 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6696, allocations: 354.8 kB / 1.392 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.67, allocations: 157 kB / 1.392 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.6705, allocations: 258.5 kB / 1.392 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.6709, allocations: 190.4 kB / 1.393 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6709, allocations: 4 kB / 1.393 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000954/0.6718, allocations: 0.4933 MB / 1.393 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.6719, allocations: 29.7 kB / 1.393 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.6719, allocations: 4 kB / 1.393 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6719, allocations: 7.953 kB / 1.393 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.6722, allocations: 76.02 kB / 1.393 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6723, allocations: 4 kB / 1.393 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.6726, allocations: 63.7 kB / 1.393 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.6726, allocations: 19.94 kB / 1.393 GB, free: 3.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0002785/0.6729, allocations: 219 kB / 1.393 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.673, allocations: 35.53 kB / 1.393 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/0.6739, allocations: 432.7 kB / 1.394 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.674, allocations: 7.953 kB / 1.394 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.674, allocations: 4 kB / 1.394 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.674, allocations: 7.984 kB / 1.394 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.6756, allocations: 0.9781 MB / 1.395 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6756, allocations: 3.953 kB / 1.395 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.6758, allocations: 55.91 kB / 1.395 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6758, allocations: 0 / 1.395 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.6759, allocations: 11.98 kB / 1.395 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6759, allocations: 0 / 1.395 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6759, allocations: 3.938 kB / 1.395 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.6767, allocations: 494.7 kB / 1.395 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.6769, allocations: 128.6 kB / 1.396 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.677, allocations: 11.98 kB / 1.396 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.6774, allocations: 51.91 kB / 1.396 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.6776, allocations: 51.91 kB / 1.396 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.6776, allocations: 19.98 kB / 1.396 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003024/0.6779, allocations: 271 kB / 1.396 GB, free: 492 kB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6779, allocations: 0 / 1.396 GB, free: 492 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004743/0.6784, allocations: 115.8 kB / 1.396 GB, free: 376 kB / 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: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001072/0.6795, allocations: 453.3 kB / 1.396 GB, free: 72 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.6807, allocations: 465.5 kB / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.6807, allocations: 3.938 kB / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.6811, allocations: 203.8 kB / 1.397 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.6816, allocations: 67.33 kB / 1.397 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.6829, allocations: 0.8032 MB / 1.398 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.6833, allocations: 0.8281 MB / 1.399 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.6836, allocations: 67.22 kB / 1.399 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6837, allocations: 43.42 kB / 1.399 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of SimCode: time 6.71e-07/0.6837, allocations: 0 / 1.399 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of Templates: time 0.01022/0.6939, allocations: 5.384 MB / 1.404 GB, free: 8.234 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches