Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.964/1.964, 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.00108/0.00108, allocations: 173.3 kB / 490.8 MB, free: 1.934 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.313/1.313, allocations: 221.4 MB / 0.7863 GB, free: 13.81 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.0009152/0.0009149, allocations: 88.62 kB / 0.9264 GB, free: 14.34 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.577e-06, allocations: 8 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.287, allocations: 143 MB / 1.212 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8072/1.094, allocations: 156.1 MB / 1.364 GB, free: 12.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/1.094, allocations: 89.86 kB / 1.364 GB, free: 12.94 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02293/1.117, allocations: 7.909 MB / 1.372 GB, free: 6.215 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.117, allocations: 0 / 1.372 GB, free: 6.215 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008077/1.118, allocations: 496.3 kB / 1.372 GB, free: 5.691 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.118, allocations: 12.03 kB / 1.372 GB, free: 5.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/1.119, allocations: 99.72 kB / 1.372 GB, free: 5.582 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.119, allocations: 174.9 kB / 1.373 GB, free: 5.371 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/1.119, allocations: 45.67 kB / 1.373 GB, free: 5.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/1.119, allocations: 8 kB / 1.373 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002707/1.119, allocations: 145.8 kB / 1.373 GB, free: 5.223 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/1.12, allocations: 145.6 kB / 1.373 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.12, allocations: 3.938 kB / 1.373 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/1.12, allocations: 4 kB / 1.373 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.12, allocations: 4 kB / 1.373 GB, free: 5.098 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.121, allocations: 0.8906 MB / 1.374 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/1.121, allocations: 124.7 kB / 1.374 GB, free: 4.109 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/1.121, allocations: 59.92 kB / 1.374 GB, free: 4.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/1.122, allocations: 0.5169 MB / 1.374 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.122, allocations: 42.31 kB / 1.374 GB, free: 3.398 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/1.122, allocations: 0 / 1.374 GB, free: 3.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0006215/1.123, allocations: 175.5 kB / 1.375 GB, free: 3.258 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/1.123, allocations: 51.41 kB / 1.375 GB, free: 3.195 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/1.123, allocations: 119.5 kB / 1.375 GB, free: 3.086 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/1.123, allocations: 29.7 kB / 1.375 GB, free: 3.051 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/1.123, allocations: 126.2 kB / 1.375 GB, free: 2.93 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/1.123, allocations: 42.36 kB / 1.375 GB, free: 2.891 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/1.123, allocations: 4 kB / 1.375 GB, free: 2.887 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.123, allocations: 321.4 kB / 1.375 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/1.123, allocations: 56.25 kB / 1.375 GB, free: 2.539 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.123, allocations: 76.34 kB / 1.375 GB, free: 2.488 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/1.124, allocations: 95.92 kB / 1.376 GB, free: 2.418 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.124, allocations: 0 / 1.376 GB, free: 2.418 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005844/1.125, allocations: 213.4 kB / 1.376 GB, free: 2.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.125, allocations: 8 kB / 1.376 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.125, allocations: 0 / 1.376 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.125, allocations: 0 / 1.376 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/1.125, allocations: 43.91 kB / 1.376 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/1.125, allocations: 0 / 1.376 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/1.125, allocations: 31.84 kB / 1.376 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/1.125, allocations: 11.59 kB / 1.376 GB, free: 2.16 MB / 0.823 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 8.911e-05/1.125, allocations: 104.9 kB / 1.376 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/1.125, allocations: 11.91 kB / 1.376 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/1.126, allocations: 202.3 kB / 1.376 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.126, allocations: 0 / 1.376 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.126, allocations: 7.844 kB / 1.376 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.126, allocations: 3.984 kB / 1.376 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/1.127, allocations: 0.956 MB / 1.377 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.127, allocations: 4 kB / 1.377 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/1.128, allocations: 31.97 kB / 1.377 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.128, allocations: 0 / 1.377 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.128, allocations: 4 kB / 1.377 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.128, allocations: 0 / 1.377 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.128, allocations: 7.922 kB / 1.377 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005652/1.128, allocations: 320.7 kB / 1.377 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/1.128, allocations: 95.91 kB / 1.378 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/1.128, allocations: 0 / 1.378 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/1.128, allocations: 19.98 kB / 1.378 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/1.129, allocations: 15.78 kB / 1.378 GB, free: 368 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/1.129, allocations: 4 kB / 1.378 GB, free: 364 kB / 0.823 GB Notification: Performance of sort global known variables: time 5.048e-05/1.129, allocations: 94.03 kB / 1.378 GB, free: 276 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004923/1.129, allocations: 131.1 kB / 1.378 GB, free: 148 kB / 0.823 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.0005684/1.13, allocations: 254.2 kB / 1.378 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000252/1.13, allocations: 139.4 kB / 1.378 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.13, allocations: 0 / 1.378 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/1.13, allocations: 64.38 kB / 1.378 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/1.13, allocations: 27.3 kB / 1.378 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/1.131, allocations: 202.6 kB / 1.378 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.131, allocations: 0.7461 MB / 1.379 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.094e-06/1.131, allocations: 0 / 1.379 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.007631/1.139, allocations: 4.071 MB / 1.383 GB, free: 10.77 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches