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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001954/0.001954, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.668/1.668, allocations: 223.2 MB / 0.7948 GB, free: 18.79 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.0009027/0.0009023, allocations: 94.52 kB / 0.9346 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 13.53 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.5324, allocations: 155.9 MB / 1.375 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5328, allocations: 91.88 kB / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.5575, allocations: 8.239 MB / 1.383 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5575, allocations: 0 / 1.383 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.5575, allocations: 0 / 1.383 GB, free: 5.098 MB / 0.8855 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.0009983/0.5585, allocations: 0.4954 MB / 1.384 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5586, allocations: 12.03 kB / 1.384 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.5591, allocations: 91.77 kB / 1.384 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.5593, allocations: 182.8 kB / 1.384 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.5594, allocations: 49.62 kB / 1.384 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.5595, allocations: 12 kB / 1.384 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.5599, allocations: 193.4 kB / 1.384 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5599, allocations: 0 / 1.384 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.56, allocations: 4 kB / 1.384 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.56, allocations: 7.953 kB / 1.384 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.5605, allocations: 191.9 kB / 1.384 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.5621, allocations: 0.9189 MB / 1.385 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.5626, allocations: 186.5 kB / 1.385 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.5633, allocations: 0.522 MB / 1.386 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5634, allocations: 38.52 kB / 1.386 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.5634, allocations: 0 / 1.386 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0007263/0.5641, allocations: 249.7 kB / 1.386 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5642, allocations: 59.41 kB / 1.386 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.5643, allocations: 143.8 kB / 1.386 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.5644, allocations: 25.7 kB / 1.386 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5645, allocations: 127.7 kB / 1.387 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.5645, allocations: 47.3 kB / 1.387 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5646, allocations: 4 kB / 1.387 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5647, allocations: 322.8 kB / 1.387 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.5649, allocations: 79.95 kB / 1.387 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.5651, allocations: 95.05 kB / 1.387 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.5653, allocations: 77.66 kB / 1.387 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5654, allocations: 0 / 1.387 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005041/0.5659, allocations: 221.4 kB / 1.387 GB, free: 392 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5659, allocations: 4 kB / 1.387 GB, free: 388 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5659, allocations: 0 / 1.387 GB, free: 388 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5659, allocations: 4.031 kB / 1.387 GB, free: 384 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.5662, allocations: 43.97 kB / 1.387 GB, free: 340 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5662, allocations: 7.938 kB / 1.387 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5664, allocations: 19.83 kB / 1.387 GB, free: 312 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.5665, allocations: 8 kB / 1.388 GB, free: 304 kB / 0.8855 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 () * Number of clocked 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 0.0001495/0.5666, allocations: 125.6 kB / 1.388 GB, free: 168 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.5667, allocations: 23.77 kB / 1.388 GB, free: 144 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.5672, allocations: 206.3 kB / 1.388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.5673, allocations: 4 kB / 1.388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5673, allocations: 4 kB / 1.388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5673, allocations: 0 / 1.388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.569, allocations: 0.9932 MB / 1.389 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.569, allocations: 3.984 kB / 1.389 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.5692, allocations: 31.98 kB / 1.389 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5692, allocations: 3.938 kB / 1.389 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.5692, allocations: 4 kB / 1.389 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.5693, allocations: 7.922 kB / 1.389 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5693, allocations: 4.062 kB / 1.389 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.5699, allocations: 316.4 kB / 1.389 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.57, allocations: 89.02 kB / 1.389 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.57, allocations: 7.984 kB / 1.389 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5702, allocations: 15.98 kB / 1.389 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.5703, allocations: 15.94 kB / 1.389 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5703, allocations: 11.98 kB / 1.389 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.576e-05/0.5704, allocations: 117.1 kB / 1.389 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5704, allocations: 0 / 1.389 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006328/0.5711, allocations: 139.8 kB / 1.39 GB, free: 13.98 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0006839/0.5718, allocations: 238.8 kB / 1.39 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.5723, allocations: 184.7 kB / 1.39 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5723, allocations: 4.062 kB / 1.39 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.5726, allocations: 84.02 kB / 1.39 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5729, allocations: 45.55 kB / 1.39 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.5737, allocations: 393.6 kB / 1.39 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5741, allocations: 0.7167 MB / 1.391 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.5743, allocations: 29.48 kB / 1.391 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.5744, allocations: 23.42 kB / 1.391 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of SimCode: time 3.4e-07/0.5744, allocations: 0 / 1.391 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of Templates: time 0.007827/0.5822, allocations: 3.84 MB / 1.395 GB, free: 8.414 MB / 0.9011 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