Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.793/1.793, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0011/0.0011, allocations: 179.8 kB / 487 MB, free: 5.383 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.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008384/0.0008384, allocations: 93.75 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.691e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.283/3.475, allocations: 1.925 GB / 3.13 GB, free: 400.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/3.475, allocations: 107.9 kB / 3.13 GB, free: 400.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.652/5.128, allocations: 0.6869 GB / 3.817 GB, free: 136.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001106/5.128, allocations: 32 kB / 3.817 GB, free: 136.3 MB / 1.151 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.002724/5.131, allocations: 1.64 MB / 3.819 GB, free: 134.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/5.131, allocations: 8.031 kB / 3.819 GB, free: 134.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/5.134, allocations: 485.4 kB / 3.819 GB, free: 134.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/5.136, allocations: 1.326 MB / 3.821 GB, free: 132.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/5.136, allocations: 20 kB / 3.821 GB, free: 132.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/5.136, allocations: 55.91 kB / 3.821 GB, free: 132.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009778/5.137, allocations: 0.7107 MB / 3.821 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/5.138, allocations: 0.7854 MB / 3.822 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/5.138, allocations: 4 kB / 3.822 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/5.138, allocations: 3.938 kB / 3.822 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/5.138, allocations: 20 kB / 3.822 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/5.142, allocations: 3.299 MB / 3.825 GB, free: 127.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/5.143, allocations: 0.5117 MB / 3.826 GB, free: 127.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/5.143, allocations: 385.6 kB / 3.826 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005554/5.144, allocations: 494 kB / 3.827 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005087/5.144, allocations: 450.9 kB / 3.827 GB, free: 125.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 1.984e-06/5.144, allocations: 4 kB / 3.827 GB, free: 125.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001827/5.146, allocations: 0.9589 MB / 3.828 GB, free: 124.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/5.146, allocations: 111.5 kB / 3.828 GB, free: 124.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/5.148, allocations: 1.299 MB / 3.83 GB, free: 123.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/5.148, allocations: 25.7 kB / 3.83 GB, free: 123.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/5.148, allocations: 366 kB / 3.83 GB, free: 123 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/5.148, allocations: 200.9 kB / 3.83 GB, free: 122.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/5.148, allocations: 0 / 3.83 GB, free: 122.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/5.148, allocations: 341.9 kB / 3.83 GB, free: 122.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/5.149, allocations: 297.2 kB / 3.831 GB, free: 122.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/5.149, allocations: 0.5843 MB / 3.831 GB, free: 121.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/5.15, allocations: 401.7 kB / 3.832 GB, free: 121.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.15, allocations: 0 / 3.832 GB, free: 121.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001285/5.151, allocations: 0.9315 MB / 3.833 GB, free: 120.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/5.151, allocations: 0.8075 MB / 3.833 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/5.151, allocations: 4 kB / 3.833 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/5.151, allocations: 8 kB / 3.833 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/5.152, allocations: 159.8 kB / 3.834 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/5.152, allocations: 4 kB / 3.834 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/5.153, allocations: 147.4 kB / 3.834 GB, free: 119 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/5.153, allocations: 47.95 kB / 3.834 GB, free: 119 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.599e-06/5.153, allocations: 3.938 kB / 3.834 GB, free: 119 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/5.155, allocations: 0.7518 MB / 3.834 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/5.155, allocations: 3.906 kB / 3.834 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/5.155, allocations: 4 kB / 3.834 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/5.155, allocations: 159.8 kB / 3.835 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/5.155, allocations: 8.25 kB / 3.835 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/5.157, allocations: 135.5 kB / 3.835 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/5.157, allocations: 43.95 kB / 3.835 GB, free: 117.9 MB / 1.151 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.0001533/5.157, allocations: 132.3 kB / 3.835 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/5.157, allocations: 134.3 kB / 3.835 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/5.159, allocations: 0.9933 MB / 3.836 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/5.159, allocations: 8 kB / 3.836 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/5.159, allocations: 7.922 kB / 3.836 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/5.159, allocations: 11.98 kB / 3.836 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/5.161, allocations: 2.397 MB / 3.838 GB, free: 114.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/5.161, allocations: 7.938 kB / 3.838 GB, free: 114.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/5.162, allocations: 132.2 kB / 3.839 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/5.162, allocations: 12 kB / 3.839 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/5.162, allocations: 11.98 kB / 3.839 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/5.162, allocations: 12 kB / 3.839 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.162, allocations: 4 kB / 3.839 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001657/5.164, allocations: 1.669 MB / 3.84 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/5.164, allocations: 379 kB / 3.841 GB, free: 111.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/5.165, allocations: 4 kB / 3.841 GB, free: 111.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/5.166, allocations: 63.98 kB / 3.841 GB, free: 111.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/5.166, allocations: 60.42 kB / 3.841 GB, free: 111.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/5.166, allocations: 35.98 kB / 3.841 GB, free: 111.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001015/5.167, allocations: 0.9914 MB / 3.842 GB, free: 110.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001496/5.168, allocations: 0.6667 MB / 3.842 GB, free: 109.9 MB / 1.151 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.002199/5.17, allocations: 2.244 MB / 3.845 GB, free: 107.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001344/5.172, allocations: 1.164 MB / 3.846 GB, free: 106.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/5.172, allocations: 1 kB / 3.846 GB, free: 106.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004575/5.172, allocations: 438.4 kB / 3.846 GB, free: 106.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/5.174, allocations: 477.3 kB / 3.847 GB, free: 105.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/5.178, allocations: 1.978 MB / 3.848 GB, free: 103.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008774/5.179, allocations: 1.372 MB / 3.85 GB, free: 102.1 MB / 1.151 GB Notification: Performance of SimCode: time 4.41e-07/5.179, allocations: 0 / 3.85 GB, free: 102.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04902/5.228, allocations: 40.06 MB / 3.889 GB, free: 62.33 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.csv","../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches