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.337/2.337, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001595/0.001595, allocations: 180.2 kB / 492.3 MB, free: 0.6211 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.65/1.65, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009881/0.0009884, allocations: 87.94 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.494e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3891, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.541, allocations: 155.8 MB / 1.365 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.542, allocations: 90.09 kB / 1.365 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.023/1.565, allocations: 8.205 MB / 1.373 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.565, allocations: 4 kB / 1.373 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.565, allocations: 3.969 kB / 1.373 GB, free: 34.23 MB / 0.8386 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.000775/1.566, allocations: 494.6 kB / 1.373 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.566, allocations: 14.34 kB / 1.373 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/1.566, allocations: 85.69 kB / 1.373 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/1.566, allocations: 181.3 kB / 1.373 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/1.566, allocations: 47.39 kB / 1.373 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/1.566, allocations: 19 kB / 1.373 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/1.567, allocations: 163.8 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.567, allocations: 0 / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/1.567, allocations: 6.875 kB / 1.374 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.567, allocations: 3.969 kB / 1.374 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/1.567, allocations: 169.6 kB / 1.374 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.568, allocations: 0.9303 MB / 1.375 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/1.569, allocations: 132.4 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/1.569, allocations: 60.42 kB / 1.375 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/1.569, allocations: 0.5218 MB / 1.375 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/1.569, allocations: 41.42 kB / 1.375 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/1.569, allocations: 0 / 1.375 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003353/1.57, allocations: 144.9 kB / 1.376 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.57, allocations: 51.41 kB / 1.376 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.57, allocations: 153.4 kB / 1.376 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.57, allocations: 29.02 kB / 1.376 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/1.57, allocations: 116.4 kB / 1.376 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/1.57, allocations: 52.52 kB / 1.376 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/1.57, allocations: 0 / 1.376 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.57, allocations: 323.7 kB / 1.376 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/1.57, allocations: 62.56 kB / 1.376 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/1.57, allocations: 81.45 kB / 1.376 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/1.57, allocations: 58.97 kB / 1.376 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.57, allocations: 0 / 1.376 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002713/1.571, allocations: 184.8 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.571, allocations: 7.781 kB / 1.377 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.571, allocations: 0 / 1.377 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.571, allocations: 3.812 kB / 1.377 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/1.571, allocations: 39.36 kB / 1.377 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.571, allocations: 3.938 kB / 1.377 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/1.571, allocations: 36.69 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/1.571, allocations: 3.812 kB / 1.377 GB, free: 31.4 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.57e-05/1.571, allocations: 116.6 kB / 1.377 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/1.571, allocations: 11.7 kB / 1.377 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/1.572, allocations: 170 kB / 1.377 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.572, allocations: 10.33 kB / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.572, allocations: 0 / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.572, allocations: 0 / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.573, allocations: 0.9584 MB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.573, allocations: 10.75 kB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/1.573, allocations: 29.03 kB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.573, allocations: 0 / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/1.573, allocations: 7.375 kB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.573, allocations: 3.938 kB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.573, allocations: 2.719 kB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/1.573, allocations: 283.7 kB / 1.378 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/1.573, allocations: 95.2 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.573, allocations: 7.812 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/1.574, allocations: 19.75 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/1.574, allocations: 21.62 kB / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.574, allocations: 6.25 kB / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.699e-05/1.574, allocations: 115.7 kB / 1.379 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.574, allocations: 0 / 1.379 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004775/1.574, allocations: 140.7 kB / 1.379 GB, free: 30 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.0004466/1.575, allocations: 241.2 kB / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002628/1.575, allocations: 145.4 kB / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.575, allocations: 0 / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/1.575, allocations: 69.16 kB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/1.575, allocations: 38.91 kB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/1.576, allocations: 208.2 kB / 1.379 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/1.576, allocations: 0.7137 MB / 1.38 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001477/1.576, allocations: 32.19 kB / 1.38 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/1.577, allocations: 22.2 kB / 1.38 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.577, allocations: 0 / 1.38 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.006853/1.583, allocations: 3.853 MB / 1.384 GB, free: 27.83 MB / 0.8386 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