Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 103.4 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 189.3 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.699/2.699, allocations: 469.8 MB / 0.743 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 73.52 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3576, allocations: 159.2 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003952/0.3616, allocations: 2.033 MB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.3645, allocations: 1.666 MB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.3646, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.774e-05/0.3648, allocations: 19.84 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3649, allocations: 47.56 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3661, allocations: 354.8 kB / 1.069 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3664, allocations: 219.1 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3665, allocations: 49.47 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3667, allocations: 83.77 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3668, allocations: 87.73 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.3669, allocations: 16 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.3677, allocations: 399.5 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.3677, allocations: 47.83 kB / 1.07 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.3679, allocations: 87.66 kB / 1.07 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.3685, allocations: 419.2 kB / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.3685, allocations: 4 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3685, allocations: 3.938 kB / 1.07 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.3685, allocations: 0 / 1.07 GB, free: 9.238 MB / 0.8419 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.0009099/0.3695, allocations: 0.5147 MB / 1.071 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3695, allocations: 8.031 kB / 1.071 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.3701, allocations: 92.73 kB / 1.071 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3703, allocations: 180.1 kB / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-05/0.3704, allocations: 54.23 kB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3704, allocations: 16.38 kB / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.3709, allocations: 179.8 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3709, allocations: 3.938 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.3709, allocations: 8 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3709, allocations: 4 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.3714, allocations: 179.9 kB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.3729, allocations: 0.9112 MB / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.3735, allocations: 170.5 kB / 1.072 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3737, allocations: 76.83 kB / 1.072 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/0.3744, allocations: 0.522 MB / 1.073 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3744, allocations: 34.5 kB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.3744, allocations: 0 / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007277/0.3752, allocations: 237.4 kB / 1.073 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3752, allocations: 59.34 kB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3754, allocations: 164.5 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3755, allocations: 25.7 kB / 1.073 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3756, allocations: 119.8 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.3756, allocations: 43.34 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.3757, allocations: 41.7 kB / 1.074 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3759, allocations: 322.8 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3761, allocations: 79.95 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3763, allocations: 97.66 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.3767, allocations: 151.5 kB / 1.074 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3768, allocations: 7.938 kB / 1.074 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005122/0.3773, allocations: 215.8 kB / 1.074 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3773, allocations: 4 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3773, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3773, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3776, allocations: 39.97 kB / 1.074 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3776, allocations: 4 kB / 1.074 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3778, allocations: 27.8 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3778, allocations: 11.98 kB / 1.074 GB, free: 4.266 MB / 0.8419 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.378, allocations: 133.7 kB / 1.075 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.378, allocations: 7.906 kB / 1.075 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.3786, allocations: 201.5 kB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3786, allocations: 4 kB / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3786, allocations: 0 / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3786, allocations: 0 / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3802, allocations: 0.9778 MB / 1.076 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3802, allocations: 3.984 kB / 1.076 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3804, allocations: 31.97 kB / 1.076 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3804, allocations: 0 / 1.076 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.3804, allocations: 4 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3805, allocations: 0 / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3805, allocations: 4.062 kB / 1.076 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.381, allocations: 292.9 kB / 1.076 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3811, allocations: 92.94 kB / 1.076 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3811, allocations: 8 kB / 1.076 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3813, allocations: 15.98 kB / 1.076 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.3814, allocations: 15.92 kB / 1.076 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3814, allocations: 4 kB / 1.076 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.966e-05/0.3815, allocations: 122.1 kB / 1.076 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 1.076 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004877/0.382, allocations: 127.8 kB / 1.076 GB, free: 2.035 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004761/0.3825, allocations: 231 kB / 1.077 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.383, allocations: 191.8 kB / 1.077 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.383, allocations: 0 / 1.077 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.3832, allocations: 83.84 kB / 1.077 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3837, allocations: 44.16 kB / 1.077 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.3845, allocations: 342.3 kB / 1.077 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3849, allocations: 0.7125 MB / 1.078 GB, free: 380 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.385, allocations: 23.44 kB / 1.078 GB, free: 356 kB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.385, allocations: 0 / 1.078 GB, free: 356 kB / 0.8419 GB Notification: Performance of Templates: time 0.5144/0.8994, allocations: 3.844 MB / 1.082 GB, free: 21.25 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches