Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.818/1.818, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009361/0.0009361, allocations: 173.3 kB / 487 MB, free: 5.352 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.402 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.0008278/0.0008278, allocations: 98.5 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.932e-06/5.942e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1849, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5423/0.7272, allocations: 158.5 MB / 1.36 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.7275, allocations: 92.77 kB / 1.36 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01986/0.7474, allocations: 8.617 MB / 1.369 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.793e-05/0.7474, allocations: 15.3 kB / 1.369 GB, free: 9.355 MB / 0.8073 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.0006806/0.7481, allocations: 0.6251 MB / 1.369 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.7482, allocations: 8.031 kB / 1.369 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.7482, allocations: 43.44 kB / 1.369 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.7488, allocations: 394.3 kB / 1.37 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.7488, allocations: 11.69 kB / 1.37 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.7489, allocations: 23.84 kB / 1.37 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002848/0.7492, allocations: 161.7 kB / 1.37 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.7495, allocations: 233.9 kB / 1.37 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7495, allocations: 4 kB / 1.37 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.7496, allocations: 0.9375 kB / 1.37 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7496, allocations: 12 kB / 1.37 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.7506, allocations: 0.7797 MB / 1.371 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.7511, allocations: 231.4 kB / 1.371 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.7512, allocations: 73.05 kB / 1.371 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.7513, allocations: 0 / 1.371 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.7514, allocations: 132.3 kB / 1.371 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.556e-05/0.7514, allocations: 3.984 kB / 1.371 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003332/0.7518, allocations: 215.5 kB / 1.371 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.7518, allocations: 106.8 kB / 1.371 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.7521, allocations: 328.8 kB / 1.372 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.7521, allocations: 25.7 kB / 1.372 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.7522, allocations: 154.3 kB / 1.372 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.7522, allocations: 71.88 kB / 1.372 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.7523, allocations: 0 / 1.372 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.7523, allocations: 353.6 kB / 1.372 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.7524, allocations: 59.23 kB / 1.372 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.7525, allocations: 99.38 kB / 1.373 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.7526, allocations: 75.22 kB / 1.373 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7526, allocations: 0 / 1.373 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002794/0.7529, allocations: 222.8 kB / 1.373 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.7529, allocations: 4 kB / 1.373 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7529, allocations: 0 / 1.373 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.753, allocations: 4 kB / 1.373 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.7532, allocations: 51.72 kB / 1.373 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.7532, allocations: 0 / 1.373 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.7533, allocations: 15.97 kB / 1.373 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.7534, allocations: 15.97 kB / 1.373 GB, free: 5.469 MB / 0.8073 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 6.856e-05/0.7534, allocations: 114.7 kB / 1.373 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.7535, allocations: 35.53 kB / 1.373 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.7538, allocations: 215.9 kB / 1.373 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7538, allocations: 4 kB / 1.373 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7538, allocations: 4 kB / 1.373 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7539, allocations: 0 / 1.373 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.7544, allocations: 0.6599 MB / 1.374 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7544, allocations: 0 / 1.374 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.7546, allocations: 31.98 kB / 1.374 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7546, allocations: 0 / 1.374 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.7547, allocations: 3.984 kB / 1.374 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7547, allocations: 4 kB / 1.374 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7547, allocations: 4 kB / 1.374 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003988/0.7551, allocations: 410.3 kB / 1.374 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7552, allocations: 148.8 kB / 1.374 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.7553, allocations: 4 kB / 1.374 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.7554, allocations: 11.98 kB / 1.374 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.7555, allocations: 23.72 kB / 1.375 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.7555, allocations: 8 kB / 1.375 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001761/0.7557, allocations: 260.3 kB / 1.375 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002913/0.756, allocations: 74.88 kB / 1.375 GB, free: 3.785 MB / 0.8073 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.000519/0.7565, allocations: 318.7 kB / 1.375 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.7568, allocations: 171.4 kB / 1.375 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.7568, allocations: 0 / 1.375 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.7569, allocations: 87.05 kB / 1.375 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.7573, allocations: 71.36 kB / 1.375 GB, free: 3.344 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.758, allocations: 445.4 kB / 1.376 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.7583, allocations: 0.8446 MB / 1.377 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.7583, allocations: 3.938 kB / 1.377 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of Templates: time 0.006626/0.765, allocations: 3.977 MB / 1.381 GB, free: 14.16 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches