Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.727/1.727, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0008982/0.0008982, allocations: 189.2 kB / 490.8 MB, free: 1.957 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.085/1.085, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.0007987/0.0007987, allocations: 95.77 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.949e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1642, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.792/2.956, allocations: 1.926 GB / 3.137 GB, free: 339.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/2.957, allocations: 94 kB / 3.137 GB, free: 339.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443/4.4, allocations: 0.6869 GB / 3.824 GB, free: 79.84 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001292/4.4, allocations: 39.61 kB / 3.824 GB, free: 79.81 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.002968/4.403, allocations: 1.641 MB / 3.826 GB, free: 78.13 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/4.403, allocations: 8.031 kB / 3.826 GB, free: 78.12 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/4.406, allocations: 481.5 kB / 3.827 GB, free: 77.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/4.409, allocations: 1.326 MB / 3.828 GB, free: 76.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/4.409, allocations: 28 kB / 3.828 GB, free: 76.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/4.409, allocations: 59.89 kB / 3.828 GB, free: 76.22 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009844/4.41, allocations: 0.7029 MB / 3.829 GB, free: 75.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/4.411, allocations: 0.7893 MB / 3.829 GB, free: 74.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/4.411, allocations: 0 / 3.829 GB, free: 74.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/4.411, allocations: 7.984 kB / 3.829 GB, free: 74.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/4.411, allocations: 23.94 kB / 3.829 GB, free: 74.67 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/4.415, allocations: 3.283 MB / 3.833 GB, free: 71.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/4.416, allocations: 0.5105 MB / 3.833 GB, free: 70.82 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/4.416, allocations: 393.7 kB / 3.833 GB, free: 70.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/4.417, allocations: 485.6 kB / 3.834 GB, free: 69.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/4.417, allocations: 454.9 kB / 3.834 GB, free: 69.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 1.763e-06/4.417, allocations: 0 / 3.834 GB, free: 69.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001775/4.419, allocations: 0.955 MB / 3.835 GB, free: 68.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/4.419, allocations: 115.5 kB / 3.835 GB, free: 68.32 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/4.421, allocations: 1.299 MB / 3.837 GB, free: 67 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/4.421, allocations: 25.7 kB / 3.837 GB, free: 66.97 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/4.421, allocations: 363.6 kB / 3.837 GB, free: 66.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/4.421, allocations: 208.2 kB / 3.837 GB, free: 66.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/4.421, allocations: 4 kB / 3.837 GB, free: 66.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/4.421, allocations: 333.9 kB / 3.838 GB, free: 66.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/4.421, allocations: 301.2 kB / 3.838 GB, free: 65.77 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/4.422, allocations: 0.5993 MB / 3.838 GB, free: 65.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/4.422, allocations: 393.3 kB / 3.839 GB, free: 64.68 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/4.422, allocations: 0 / 3.839 GB, free: 64.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001285/4.424, allocations: 0.9355 MB / 3.84 GB, free: 63.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/4.424, allocations: 0.8089 MB / 3.841 GB, free: 62.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/4.424, allocations: 8 kB / 3.841 GB, free: 62.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/4.424, allocations: 4 kB / 3.841 GB, free: 62.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/4.425, allocations: 155.8 kB / 3.841 GB, free: 62.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/4.425, allocations: 7.984 kB / 3.841 GB, free: 62.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/4.426, allocations: 147.4 kB / 3.841 GB, free: 62.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/4.426, allocations: 43.95 kB / 3.841 GB, free: 62.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/4.426, allocations: 4 kB / 3.841 GB, free: 62.52 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/4.427, allocations: 0.7479 MB / 3.842 GB, free: 61.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/4.427, allocations: 4 kB / 3.842 GB, free: 61.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/4.427, allocations: 7.906 kB / 3.842 GB, free: 61.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/4.428, allocations: 160 kB / 3.842 GB, free: 61.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/4.428, allocations: 4 kB / 3.842 GB, free: 61.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/4.429, allocations: 139.5 kB / 3.842 GB, free: 61.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/4.429, allocations: 39.97 kB / 3.842 GB, free: 61.42 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.0001466/4.429, allocations: 121.5 kB / 3.842 GB, free: 61.29 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/4.43, allocations: 142.2 kB / 3.842 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/4.431, allocations: 1.001 MB / 3.843 GB, free: 60.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/4.431, allocations: 12 kB / 3.843 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/4.431, allocations: 0 / 3.843 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/4.431, allocations: 7.922 kB / 3.843 GB, free: 60.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/4.434, allocations: 2.391 MB / 3.846 GB, free: 57.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/4.434, allocations: 4 kB / 3.846 GB, free: 57.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/4.435, allocations: 136.2 kB / 3.846 GB, free: 57.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/4.435, allocations: 8 kB / 3.846 GB, free: 57.52 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/4.435, allocations: 11.98 kB / 3.846 GB, free: 57.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/4.435, allocations: 11.94 kB / 3.846 GB, free: 57.49 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/4.435, allocations: 0 / 3.846 GB, free: 57.49 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001652/4.436, allocations: 1.665 MB / 3.847 GB, free: 55.68 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/4.437, allocations: 379.1 kB / 3.848 GB, free: 55.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/4.437, allocations: 11.89 kB / 3.848 GB, free: 55.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/4.438, allocations: 63.98 kB / 3.848 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/4.438, allocations: 60.48 kB / 3.848 GB, free: 55.15 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/4.438, allocations: 24 kB / 3.848 GB, free: 55.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00101/4.439, allocations: 0.9991 MB / 3.849 GB, free: 54.13 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001398/4.441, allocations: 0.6706 MB / 3.849 GB, free: 53.46 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.002185/4.443, allocations: 2.256 MB / 3.852 GB, free: 51.43 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001306/4.444, allocations: 1.172 MB / 3.853 GB, free: 50.26 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/4.444, allocations: 4.125 kB / 3.853 GB, free: 50.26 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/4.445, allocations: 430.2 kB / 3.853 GB, free: 49.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/4.447, allocations: 471.2 kB / 3.854 GB, free: 49.39 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/4.45, allocations: 1.99 MB / 3.856 GB, free: 47.33 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008836/4.451, allocations: 1.355 MB / 3.857 GB, free: 45.94 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/4.451, allocations: 0 / 3.857 GB, free: 45.94 MB / 1.151 GB Notification: Performance of Templates: time 0.0459/4.497, allocations: 40.07 MB / 3.896 GB, free: 6.27 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches