Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.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.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outAir.y.1.|roo.T|mixAirSetPoi.y|senTemMixAir.T|con.y|eco.damOA.y_actual",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outAir.y.1.|roo.T|mixAirSetPoi.y|senTemMixAir.T|con.y|eco.damOA.y_actual",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). 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: 249.4 MB / 256.7 MB, free: 6.934 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.001474/0.001474, allocations: 185.2 kB / 316 MB, free: 3.516 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.665/1.665, allocations: 205.2 MB / 0.5667 GB, free: 15.74 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.001088/0.001088, allocations: 98.77 kB / 0.671 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.153e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2459, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.906/5.152, allocations: 2.212 GB / 3.096 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/5.152, allocations: 95.94 kB / 3.096 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.352/7.504, allocations: 0.6552 GB / 3.752 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002596/7.505, allocations: 38.45 kB / 3.752 GB, free: 164.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.006093/7.511, allocations: 1.625 MB / 3.753 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/7.511, allocations: 12.25 kB / 3.753 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004508/7.515, allocations: 478.8 kB / 3.754 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/7.519, allocations: 1.332 MB / 3.755 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/7.52, allocations: 23.31 kB / 3.755 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/7.52, allocations: 55.7 kB / 3.755 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00174/7.521, allocations: 0.7065 MB / 3.756 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/7.523, allocations: 0.7888 MB / 3.757 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/7.523, allocations: 0 / 3.757 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/7.523, allocations: 2.016 kB / 3.757 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/7.523, allocations: 16.81 kB / 3.757 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008072/7.531, allocations: 3.289 MB / 3.76 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/7.533, allocations: 0.5056 MB / 3.76 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/7.533, allocations: 385.5 kB / 3.761 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000841/7.534, allocations: 499.3 kB / 3.761 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009469/7.535, allocations: 443.3 kB / 3.762 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 5.651e-06/7.535, allocations: 2.844 kB / 3.762 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.003581/7.539, allocations: 0.9542 MB / 3.763 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/7.539, allocations: 110.5 kB / 3.763 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/7.543, allocations: 1.297 MB / 3.764 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/7.543, allocations: 29.52 kB / 3.764 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/7.544, allocations: 362.2 kB / 3.764 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/7.544, allocations: 215.7 kB / 3.764 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/7.544, allocations: 0 / 3.764 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/7.544, allocations: 326.5 kB / 3.765 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/7.545, allocations: 303.1 kB / 3.765 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/7.546, allocations: 0.5884 MB / 3.766 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/7.547, allocations: 394.8 kB / 3.766 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/7.547, allocations: 0 / 3.766 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00273/7.55, allocations: 0.9327 MB / 3.767 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/7.55, allocations: 0.8103 MB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/7.55, allocations: 1.906 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.666e-05/7.55, allocations: 5.656 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/7.551, allocations: 158.2 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/7.551, allocations: 5.109 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/7.554, allocations: 142 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/7.554, allocations: 40.53 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/7.554, allocations: 12.09 kB / 3.768 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001868/7.556, allocations: 0.7448 MB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.556, allocations: 9.906 kB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/7.556, allocations: 5.906 kB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/7.557, allocations: 152 kB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/7.557, allocations: 5.312 kB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/7.559, allocations: 139.2 kB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/7.559, allocations: 53.62 kB / 3.769 GB, free: 155.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.outAir.nextTimeEvent,$whenCondition1,$PRE.cooMod.nextTimeEvent,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,outAir.nextTimeEvent,$PRE.outAir.nextTimeEventScaled,outAir.nextTimeEventScaled,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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.0004231/7.56, allocations: 128 kB / 3.769 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/7.56, allocations: 134.3 kB / 3.769 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/7.564, allocations: 0.9946 MB / 3.77 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/7.564, allocations: 7.109 kB / 3.77 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/7.564, allocations: 1.031 kB / 3.77 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/7.564, allocations: 4.172 kB / 3.77 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00784/7.572, allocations: 2.397 MB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/7.572, allocations: 3.719 kB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/7.573, allocations: 131.8 kB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.891e-05/7.573, allocations: 9.969 kB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/7.573, allocations: 12.41 kB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/7.573, allocations: 6.125 kB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/7.573, allocations: 3.5 kB / 3.773 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003963/7.577, allocations: 1.665 MB / 3.775 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/7.578, allocations: 370.8 kB / 3.775 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007512/7.579, allocations: 10.34 kB / 3.775 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/7.581, allocations: 71.05 kB / 3.775 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/7.581, allocations: 58.83 kB / 3.775 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/7.581, allocations: 32.73 kB / 3.775 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003205/7.584, allocations: 0.986 MB / 3.776 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005406/7.59, allocations: 0.6624 MB / 3.777 GB, free: 151.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (con.con.I.y,senTemMixAir.T) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,outAir.nextTimeEvent,outAir.nextTimeEventScaled) * Number of discrete states: 4 (outAir.nextTimeEvent,cooMod.nextTimeEvent,outAir.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.005869/7.596, allocations: 2.25 MB / 3.779 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003287/7.599, allocations: 1.171 MB / 3.78 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/7.599, allocations: 1 kB / 3.78 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/7.6, allocations: 424.6 kB / 3.78 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/7.604, allocations: 489.9 kB / 3.781 GB, free: 150 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/7.614, allocations: 1.977 MB / 3.783 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/7.617, allocations: 1.355 MB / 3.784 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.983e-06/7.617, allocations: 0 / 3.784 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.07115/7.688, allocations: 40.05 MB / 3.823 GB, free: 107.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches