Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009087/0.0009087, allocations: 193.2 kB / 490.8 MB, free: 1.926 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.084/1.084, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008324/0.0008324, allocations: 80.75 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.149e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.644, allocations: 159.3 MB / 1.367 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.6443, allocations: 90.8 kB / 1.367 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02007/0.6644, allocations: 8.622 MB / 1.376 GB, free: 16.62 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.095e-05/0.6644, allocations: 15.72 kB / 1.376 GB, free: 16.61 MB / 0.823 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.0007763/0.6652, allocations: 0.6197 MB / 1.376 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.6652, allocations: 9.016 kB / 1.376 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.6653, allocations: 49.94 kB / 1.376 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.6659, allocations: 393.7 kB / 1.377 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.6659, allocations: 16.92 kB / 1.377 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.666, allocations: 18.11 kB / 1.377 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002998/0.6663, allocations: 168.4 kB / 1.377 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.6666, allocations: 235 kB / 1.377 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6667, allocations: 0.5156 kB / 1.377 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.6667, allocations: 1.75 kB / 1.377 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6667, allocations: 5.094 kB / 1.377 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6678, allocations: 0.7801 MB / 1.378 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.6683, allocations: 233 kB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.6685, allocations: 79.31 kB / 1.378 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.6685, allocations: 1.812 kB / 1.378 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.6687, allocations: 135.9 kB / 1.378 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.6687, allocations: 0 / 1.378 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003533/0.669, allocations: 205.3 kB / 1.379 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.6691, allocations: 114.4 kB / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.6694, allocations: 324.8 kB / 1.379 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.6694, allocations: 26.92 kB / 1.379 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.6695, allocations: 158.8 kB / 1.379 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.6696, allocations: 62.64 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.6696, allocations: 0 / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.6697, allocations: 350 kB / 1.379 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.6698, allocations: 58.03 kB / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.6699, allocations: 104.7 kB / 1.38 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.67, allocations: 69.72 kB / 1.38 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.67, allocations: 0 / 1.38 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003153/0.6703, allocations: 217.2 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.6704, allocations: 5.906 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6704, allocations: 5.031 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6704, allocations: 6.281 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.6706, allocations: 49.53 kB / 1.38 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6706, allocations: 1.062 kB / 1.38 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.6708, allocations: 16.83 kB / 1.38 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.6708, allocations: 9.719 kB / 1.38 GB, free: 30.48 MB / 0.8386 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 7.894e-05/0.6709, allocations: 119.3 kB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.6709, allocations: 36.34 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.6713, allocations: 220.8 kB / 1.38 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6713, allocations: 7.062 kB / 1.38 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6713, allocations: 0.8906 kB / 1.38 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6713, allocations: 1.766 kB / 1.38 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.6721, allocations: 0.6576 MB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6721, allocations: 3.938 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.6723, allocations: 37.09 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6723, allocations: 1.125 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.6723, allocations: 3.562 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6723, allocations: 1.734 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6723, allocations: 0 / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004895/0.6728, allocations: 420.2 kB / 1.381 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.673, allocations: 145.5 kB / 1.382 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.673, allocations: 1.578 kB / 1.382 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.6732, allocations: 10.25 kB / 1.382 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.6733, allocations: 18.44 kB / 1.382 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.6733, allocations: 9.797 kB / 1.382 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002406/0.6736, allocations: 257.6 kB / 1.382 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003301/0.6739, allocations: 78.17 kB / 1.382 GB, free: 29.63 MB / 0.8386 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.0005599/0.6745, allocations: 321.8 kB / 1.382 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.6748, allocations: 163.6 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6748, allocations: 0 / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.6749, allocations: 89.84 kB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.6754, allocations: 70.75 kB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.6763, allocations: 449.2 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.6766, allocations: 0.8464 MB / 1.384 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/0.6766, allocations: 0 / 1.384 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.006712/0.6834, allocations: 3.974 MB / 1.388 GB, free: 26.56 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches