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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.433/2.433, 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.001245/0.001245, allocations: 167 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.659/1.659, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009733/0.0009731, allocations: 92.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 10.44 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3231, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.5576, allocations: 155.9 MB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5579, allocations: 87.89 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02397/0.5819, allocations: 8.226 MB / 1.383 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.709e-06/0.582, allocations: 8 kB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.582, allocations: 0 / 1.383 GB, free: 13.84 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.0009065/0.5829, allocations: 0.4988 MB / 1.384 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.583, allocations: 11.97 kB / 1.384 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/0.5835, allocations: 87.78 kB / 1.384 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.5836, allocations: 178.8 kB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5838, allocations: 45.7 kB / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5838, allocations: 16 kB / 1.384 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.5842, allocations: 185.4 kB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5842, allocations: 0 / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.5843, allocations: 7.984 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5843, allocations: 7.953 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.5847, allocations: 195.8 kB / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.5862, allocations: 0.9306 MB / 1.385 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.5867, allocations: 178.6 kB / 1.385 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.5874, allocations: 0.5181 MB / 1.386 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5874, allocations: 42.61 kB / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/0.5875, allocations: 0 / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0007216/0.5882, allocations: 249.2 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5882, allocations: 51.41 kB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5884, allocations: 151.4 kB / 1.386 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5884, allocations: 33.7 kB / 1.386 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.5885, allocations: 119.8 kB / 1.387 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.5886, allocations: 47.3 kB / 1.387 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.5886, allocations: 8 kB / 1.387 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5887, allocations: 318.8 kB / 1.387 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5889, allocations: 75.95 kB / 1.387 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.5891, allocations: 106.6 kB / 1.387 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5893, allocations: 76.8 kB / 1.387 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5893, allocations: 3.984 kB / 1.387 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004816/0.5898, allocations: 218.7 kB / 1.387 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5899, allocations: 4 kB / 1.387 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5899, allocations: 0 / 1.387 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.5899, allocations: 4 kB / 1.387 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.5902, allocations: 39.91 kB / 1.387 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5902, allocations: 4.031 kB / 1.387 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.5904, allocations: 27.83 kB / 1.388 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.5904, allocations: 4 kB / 1.388 GB, free: 9.039 MB / 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.0001285/0.5905, allocations: 133.5 kB / 1.388 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.5906, allocations: 19.77 kB / 1.388 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.5911, allocations: 202.4 kB / 1.388 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5911, allocations: 7.938 kB / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5911, allocations: 0 / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5911, allocations: 3.984 kB / 1.388 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.5926, allocations: 0.9933 MB / 1.389 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5926, allocations: 0 / 1.389 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5928, allocations: 27.98 kB / 1.389 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5928, allocations: 0 / 1.389 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.5929, allocations: 11.98 kB / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5929, allocations: 0 / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5929, allocations: 0 / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.5934, allocations: 320.4 kB / 1.389 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.5935, allocations: 100.9 kB / 1.389 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.5935, allocations: 8 kB / 1.389 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5937, allocations: 11.98 kB / 1.389 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.5938, allocations: 19.92 kB / 1.389 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5938, allocations: 15.98 kB / 1.389 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.612e-05/0.5939, allocations: 116.9 kB / 1.389 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5939, allocations: 0 / 1.389 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007164/0.5946, allocations: 139.8 kB / 1.39 GB, free: 6.707 MB / 0.8855 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.0004803/0.5951, allocations: 234.9 kB / 1.39 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.5956, allocations: 183.8 kB / 1.39 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5956, allocations: 0 / 1.39 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.5958, allocations: 88.2 kB / 1.39 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.5961, allocations: 45.06 kB / 1.39 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.5968, allocations: 373.6 kB / 1.39 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5972, allocations: 0.7128 MB / 1.391 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.5973, allocations: 29.48 kB / 1.391 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.5974, allocations: 19.42 kB / 1.391 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/0.5974, allocations: 4 kB / 1.391 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of Templates: time 0.0078/0.6052, allocations: 3.834 MB / 1.395 GB, free: 1.18 MB / 0.8855 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