Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") 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_latest_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 10.0.0-master/package.mo): time 1.965/1.965, 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.001243/0.001243, allocations: 174.6 kB / 490.8 MB, free: 1.898 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.332/1.332, allocations: 221.4 MB / 0.7863 GB, free: 13.57 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.001022/0.001022, allocations: 96.05 kB / 0.9264 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.595e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7682/1.05, allocations: 155.9 MB / 1.364 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.05, allocations: 82.69 kB / 1.364 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02298/1.073, allocations: 7.903 MB / 1.372 GB, free: 16.71 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.073, allocations: 6.625 kB / 1.372 GB, free: 16.7 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.0009234/1.074, allocations: 497.9 kB / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.074, allocations: 8.859 kB / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/1.075, allocations: 104.2 kB / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/1.075, allocations: 172.9 kB / 1.372 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/1.075, allocations: 40.38 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/1.075, allocations: 12.59 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002908/1.075, allocations: 146.6 kB / 1.373 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/1.076, allocations: 151.3 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.076, allocations: 1.094 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.076, allocations: 0.7031 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.076, allocations: 4.469 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.077, allocations: 0.8865 MB / 1.374 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/1.077, allocations: 128.9 kB / 1.374 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/1.077, allocations: 61.59 kB / 1.374 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005883/1.078, allocations: 0.5186 MB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/1.078, allocations: 36.06 kB / 1.374 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/1.078, allocations: 4 kB / 1.374 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0006586/1.078, allocations: 179.3 kB / 1.374 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/1.079, allocations: 53.44 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/1.079, allocations: 115.5 kB / 1.375 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/1.079, allocations: 27.41 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/1.079, allocations: 122 kB / 1.375 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/1.079, allocations: 44.84 kB / 1.375 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/1.079, allocations: 3.938 kB / 1.375 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.079, allocations: 322.9 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/1.079, allocations: 57.88 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.079, allocations: 75.25 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/1.08, allocations: 90.36 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.08, allocations: 3.938 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000603/1.08, allocations: 214.9 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.08, allocations: 4.906 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.08, allocations: 5.844 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.08, allocations: 0.5625 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.081, allocations: 46.52 kB / 1.376 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.081, allocations: 2.031 kB / 1.376 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/1.081, allocations: 22 kB / 1.376 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/1.081, allocations: 17.33 kB / 1.376 GB, free: 29.9 MB / 0.8386 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.477e-05/1.081, allocations: 107.2 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.081, allocations: 9.906 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006248/1.082, allocations: 204.5 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.082, allocations: 1.844 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.082, allocations: 3.906 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.082, allocations: 1.609 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/1.083, allocations: 0.9544 MB / 1.377 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.083, allocations: 5.031 kB / 1.377 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/1.083, allocations: 35.45 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.083, allocations: 1.031 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.083, allocations: 3.078 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.083, allocations: 5.125 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.083, allocations: 1.453 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005717/1.084, allocations: 312.3 kB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/1.084, allocations: 95.03 kB / 1.377 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/1.084, allocations: 2.594 kB / 1.377 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/1.084, allocations: 19.17 kB / 1.377 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/1.084, allocations: 20.5 kB / 1.377 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/1.084, allocations: 5.031 kB / 1.377 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.026e-05/1.084, allocations: 97.41 kB / 1.377 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005644/1.085, allocations: 134.8 kB / 1.378 GB, free: 28.55 MB / 0.8386 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.0005449/1.085, allocations: 239.7 kB / 1.378 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002655/1.086, allocations: 137.7 kB / 1.378 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.086, allocations: 0.9688 kB / 1.378 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/1.086, allocations: 66.95 kB / 1.378 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.086, allocations: 29.42 kB / 1.378 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.088, allocations: 322.3 kB / 1.378 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/1.088, allocations: 0.7424 MB / 1.379 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.088, allocations: 0 / 1.379 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of Templates: time 0.008443/1.096, allocations: 4.065 MB / 1.383 GB, free: 26.5 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches