Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [: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 2.031/2.031, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001346/0.001346, allocations: 185.2 kB / 487 MB, free: 5.32 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.491/1.491, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.001174/0.001174, allocations: 104.6 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.061e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7531/1.021, allocations: 155.1 MB / 1.357 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.022, allocations: 85.09 kB / 1.357 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02451/1.046, allocations: 7.906 MB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.046, allocations: 4 kB / 1.364 GB, free: 11.74 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008354/1.047, allocations: 496.5 kB / 1.365 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.047, allocations: 9.031 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/1.048, allocations: 99.72 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.048, allocations: 178.9 kB / 1.365 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/1.048, allocations: 45.19 kB / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/1.048, allocations: 11.91 kB / 1.365 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002666/1.048, allocations: 143.8 kB / 1.365 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/1.048, allocations: 150.1 kB / 1.366 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.048, allocations: 0 / 1.366 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/1.048, allocations: 7.984 kB / 1.366 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.048, allocations: 4 kB / 1.366 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/1.05, allocations: 0.8863 MB / 1.366 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/1.05, allocations: 134.6 kB / 1.367 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/1.05, allocations: 57.48 kB / 1.367 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005632/1.05, allocations: 0.5203 MB / 1.367 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/1.051, allocations: 38.5 kB / 1.367 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/1.051, allocations: 0 / 1.367 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0006186/1.051, allocations: 178 kB / 1.367 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/1.051, allocations: 51.41 kB / 1.367 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/1.051, allocations: 115 kB / 1.367 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/1.051, allocations: 25.7 kB / 1.367 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/1.051, allocations: 125.7 kB / 1.368 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.051, allocations: 45.16 kB / 1.368 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/1.051, allocations: 4 kB / 1.368 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/1.051, allocations: 318.5 kB / 1.368 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/1.052, allocations: 66.86 kB / 1.368 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/1.052, allocations: 70.47 kB / 1.368 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/1.052, allocations: 95.02 kB / 1.368 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.052, allocations: 0 / 1.368 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005422/1.053, allocations: 211.8 kB / 1.368 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.053, allocations: 8.031 kB / 1.368 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.053, allocations: 4 kB / 1.368 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.053, allocations: 0 / 1.368 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/1.053, allocations: 47.81 kB / 1.368 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.053, allocations: 0 / 1.368 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/1.053, allocations: 27.83 kB / 1.368 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/1.053, allocations: 10.86 kB / 1.368 GB, free: 7.691 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.699e-05/1.053, allocations: 104.9 kB / 1.369 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/1.053, allocations: 7.906 kB / 1.369 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/1.054, allocations: 203.5 kB / 1.369 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.054, allocations: 7.906 kB / 1.369 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/1.054, allocations: 0 / 1.369 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.054, allocations: 0 / 1.369 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/1.055, allocations: 0.9557 MB / 1.37 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.055, allocations: 7.938 kB / 1.37 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/1.055, allocations: 35.91 kB / 1.37 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.055, allocations: 0 / 1.37 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.055, allocations: 4 kB / 1.37 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.055, allocations: 0 / 1.37 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.055, allocations: 3.906 kB / 1.37 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005092/1.056, allocations: 311.8 kB / 1.37 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/1.056, allocations: 92.48 kB / 1.37 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/1.056, allocations: 11.92 kB / 1.37 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.056, allocations: 15.98 kB / 1.37 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/1.056, allocations: 11.98 kB / 1.37 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/1.056, allocations: 8 kB / 1.37 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.952e-05/1.056, allocations: 98.33 kB / 1.37 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005065/1.057, allocations: 135 kB / 1.37 GB, free: 5.68 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0004797/1.057, allocations: 247.8 kB / 1.371 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002646/1.058, allocations: 144.7 kB / 1.371 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.058, allocations: 0 / 1.371 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/1.058, allocations: 64 kB / 1.371 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/1.058, allocations: 23.67 kB / 1.371 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/1.059, allocations: 205.8 kB / 1.371 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.059, allocations: 0.7351 MB / 1.372 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/1.059, allocations: 0 / 1.372 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of Templates: time 0.007111/1.066, allocations: 4.072 MB / 1.376 GB, free: 320 kB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches