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.Compressor.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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [: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.385/1.385, allocations: 249.4 MB / 256.7 MB, free: 6.938 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.001268/0.001269, allocations: 169.3 kB / 316 MB, free: 3.578 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.794/1.794, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.001131/0.001131, allocations: 85.7 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.567e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2622, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7129/0.9752, allocations: 141.7 MB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.9755, allocations: 99.59 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.02331/0.9988, allocations: 8.538 MB / 1.031 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.061e-05/0.9989, allocations: 11.94 kB / 1.031 GB, free: 6.004 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009777/0.9999, allocations: 0.6158 MB / 1.032 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/1, allocations: 8.031 kB / 1.032 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/1, allocations: 47.44 kB / 1.032 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/1.001, allocations: 401.4 kB / 1.032 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/1.001, allocations: 8 kB / 1.032 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/1.001, allocations: 15.94 kB / 1.032 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003405/1.001, allocations: 161.4 kB / 1.033 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/1.002, allocations: 235.2 kB / 1.033 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.002, allocations: 0 / 1.033 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/1.002, allocations: 0 / 1.033 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.002, allocations: 11.91 kB / 1.033 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/1.003, allocations: 0.7811 MB / 1.034 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/1.004, allocations: 226.9 kB / 1.034 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/1.004, allocations: 75.98 kB / 1.034 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/1.004, allocations: 0 / 1.034 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/1.004, allocations: 129.9 kB / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/1.004, allocations: 0 / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0004559/1.005, allocations: 212.3 kB / 1.034 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/1.005, allocations: 114.7 kB / 1.034 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/1.005, allocations: 333.4 kB / 1.035 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.005, allocations: 25.7 kB / 1.035 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/1.005, allocations: 156.9 kB / 1.035 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/1.005, allocations: 60.67 kB / 1.035 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/1.005, allocations: 0 / 1.035 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.005, allocations: 344.2 kB / 1.035 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/1.006, allocations: 67.17 kB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/1.006, allocations: 94.97 kB / 1.035 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/1.006, allocations: 63.42 kB / 1.035 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.006, allocations: 0 / 1.035 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003612/1.006, allocations: 229.6 kB / 1.036 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.006, allocations: 12.09 kB / 1.036 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.006, allocations: 0 / 1.036 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.006, allocations: 3.938 kB / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/1.007, allocations: 47.91 kB / 1.036 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.007, allocations: 0 / 1.036 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/1.007, allocations: 19.84 kB / 1.036 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/1.007, allocations: 11.75 kB / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001058/1.007, allocations: 116.8 kB / 1.036 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/1.007, allocations: 31.62 kB / 1.036 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/1.007, allocations: 233.5 kB / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/1.007, allocations: 0 / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.007, allocations: 0 / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/1.007, allocations: 4 kB / 1.036 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/1.008, allocations: 0.6696 MB / 1.037 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.008, allocations: 0 / 1.037 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.009, allocations: 31.98 kB / 1.037 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.009, allocations: 0 / 1.037 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/1.009, allocations: 7.984 kB / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.009, allocations: 0 / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.009, allocations: 0 / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005631/1.009, allocations: 419.8 kB / 1.037 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/1.009, allocations: 146.2 kB / 1.037 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/1.009, allocations: 0 / 1.037 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/1.01, allocations: 15.48 kB / 1.037 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/1.01, allocations: 19.78 kB / 1.037 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/1.01, allocations: 4 kB / 1.037 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002664/1.01, allocations: 260 kB / 1.038 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003525/1.01, allocations: 71.83 kB / 1.038 GB, free: 436 kB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007527/1.011, allocations: 321.9 kB / 1.038 GB, free: 196 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003356/1.011, allocations: 168 kB / 1.038 GB, free: 84 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.011, allocations: 0 / 1.038 GB, free: 84 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/1.012, allocations: 91.8 kB / 1.038 GB, free: 20 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/1.012, allocations: 70.77 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.013, allocations: 451 kB / 1.039 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/1.014, allocations: 0.8369 MB / 1.04 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of SimCode: time 1.854e-06/1.014, allocations: 7.938 kB / 1.04 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of Templates: time 0.008958/1.023, allocations: 3.975 MB / 1.043 GB, free: 10.75 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches