Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") [: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.018/2.018, 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.001374/0.001374, allocations: 177.3 kB / 487 MB, free: 5.359 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.498/1.498, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.001006/0.001006, allocations: 94.05 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.163e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7648/1.037, allocations: 155.1 MB / 1.357 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.038, allocations: 85.33 kB / 1.357 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02395/1.062, allocations: 7.905 MB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.062, allocations: 4 kB / 1.364 GB, free: 12.04 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.0006737/1.062, allocations: 495.5 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.062, allocations: 13.03 kB / 1.365 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/1.063, allocations: 98.84 kB / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.063, allocations: 180.9 kB / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/1.063, allocations: 41.69 kB / 1.365 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/1.063, allocations: 19.84 kB / 1.365 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/1.063, allocations: 140.8 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/1.064, allocations: 150.5 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.064, allocations: 0 / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/1.064, allocations: 0 / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/1.064, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/1.065, allocations: 0.8907 MB / 1.366 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/1.065, allocations: 127.8 kB / 1.367 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/1.065, allocations: 57.55 kB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000532/1.066, allocations: 0.5233 MB / 1.367 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/1.066, allocations: 34.5 kB / 1.367 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/1.066, allocations: 0 / 1.367 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0005813/1.066, allocations: 179.7 kB / 1.367 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/1.066, allocations: 51.41 kB / 1.367 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/1.066, allocations: 122 kB / 1.367 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.066, allocations: 25.7 kB / 1.367 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/1.066, allocations: 126.8 kB / 1.368 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/1.066, allocations: 46.22 kB / 1.368 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/1.067, allocations: 4 kB / 1.368 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/1.067, allocations: 314.2 kB / 1.368 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/1.067, allocations: 62.3 kB / 1.368 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/1.067, allocations: 69.16 kB / 1.368 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/1.067, allocations: 98.72 kB / 1.368 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.067, allocations: 0 / 1.368 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005394/1.068, allocations: 215.1 kB / 1.368 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.068, allocations: 8 kB / 1.368 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.068, allocations: 0 / 1.368 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.068, allocations: 0 / 1.368 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/1.068, allocations: 51.41 kB / 1.368 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.068, allocations: 0 / 1.368 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/1.068, allocations: 23.83 kB / 1.368 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/1.068, allocations: 7.984 kB / 1.368 GB, free: 7.996 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.774e-05/1.068, allocations: 104.9 kB / 1.369 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/1.068, allocations: 11.91 kB / 1.369 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/1.069, allocations: 201.6 kB / 1.369 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.069, allocations: 11.89 kB / 1.369 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.069, allocations: 3.938 kB / 1.369 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.069, allocations: 0 / 1.369 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/1.07, allocations: 0.9529 MB / 1.37 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.07, allocations: 4 kB / 1.37 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/1.07, allocations: 35.91 kB / 1.37 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.07, allocations: 4.062 kB / 1.37 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/1.07, allocations: 4 kB / 1.37 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.07, allocations: 0 / 1.37 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.07, allocations: 3.906 kB / 1.37 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00051/1.071, allocations: 314.9 kB / 1.37 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/1.071, allocations: 92.17 kB / 1.37 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/1.071, allocations: 11.92 kB / 1.37 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/1.071, allocations: 15.98 kB / 1.37 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/1.071, allocations: 11.98 kB / 1.37 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/1.071, allocations: 11.55 kB / 1.37 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.343e-05/1.071, allocations: 94.28 kB / 1.37 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004144/1.072, allocations: 135.4 kB / 1.37 GB, free: 5.977 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.0004312/1.072, allocations: 245 kB / 1.371 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002358/1.072, allocations: 145.2 kB / 1.371 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.072, allocations: 4 kB / 1.371 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/1.073, allocations: 62.62 kB / 1.371 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/1.073, allocations: 21.3 kB / 1.371 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/1.074, allocations: 316.7 kB / 1.371 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/1.074, allocations: 0.743 MB / 1.372 GB, free: 20.51 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.074, allocations: 0 / 1.372 GB, free: 20.51 MB / 0.823 GB Notification: Performance of Templates: time 0.006442/1.081, allocations: 4.069 MB / 1.376 GB, free: 16.48 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches