Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.377/2.377, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.548, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00286/0.5509, allocations: 2.035 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.553, allocations: 1.667 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.5531, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.5532, allocations: 23.78 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.5533, allocations: 43.56 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.5541, allocations: 362.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.5543, allocations: 219.2 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.5544, allocations: 51.34 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.5545, allocations: 83.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.5546, allocations: 87.73 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.5547, allocations: 20 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006629/0.5553, allocations: 399.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.5554, allocations: 43.83 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.5555, allocations: 87.66 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.5559, allocations: 421.3 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.5559, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5559, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.556, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 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.0006621/0.5566, allocations: 0.524 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5567, allocations: 12.03 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.5567, allocations: 46.73 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.5573, allocations: 92.66 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5574, allocations: 180.2 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.5574, allocations: 46.25 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.5575, allocations: 16.38 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.5578, allocations: 187 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5579, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5579, allocations: 8 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5579, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.5583, allocations: 179.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.5595, allocations: 0.9267 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.56, allocations: 170.5 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.5602, allocations: 76.83 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.5608, allocations: 0.5181 MB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.5608, allocations: 34.56 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.5608, allocations: 0 / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006416/0.5614, allocations: 237.4 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.5615, allocations: 51.41 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5616, allocations: 162.4 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5616, allocations: 25.7 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.5617, allocations: 127.8 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.5617, allocations: 43.3 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.5618, allocations: 41.7 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.5619, allocations: 318.8 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.5621, allocations: 79.89 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.5623, allocations: 97.67 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.5627, allocations: 159.3 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5627, allocations: 0 / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000466/0.5631, allocations: 207.1 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5632, allocations: 8.031 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5632, allocations: 0 / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5632, allocations: 0 / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.5634, allocations: 43.91 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5634, allocations: 4 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.5636, allocations: 23.73 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.5636, allocations: 4 kB / 1.027 GB, free: 7.891 MB / 0.7794 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 9.815e-05/0.5637, allocations: 143.2 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.5638, allocations: 7.906 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5643, allocations: 194.2 kB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5643, allocations: 4 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5643, allocations: 3.984 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5643, allocations: 4 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.5655, allocations: 0.9817 MB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5655, allocations: 0 / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.5657, allocations: 35.91 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5658, allocations: 0 / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5658, allocations: 4 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5658, allocations: 0 / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5658, allocations: 0 / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.5662, allocations: 296.9 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.5663, allocations: 89 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.5663, allocations: 11.94 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.5665, allocations: 11.98 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.5666, allocations: 15.92 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5666, allocations: 8 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.5667, allocations: 122.5 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5667, allocations: 0 / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004033/0.5671, allocations: 123.9 kB / 1.029 GB, free: 5.652 MB / 0.7794 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.000933/0.568, allocations: 0.9498 MB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.5685, allocations: 187.8 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5685, allocations: 0 / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.5687, allocations: 79.91 kB / 1.03 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.5691, allocations: 48.66 kB / 1.03 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.5715, allocations: 2.05 MB / 1.032 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.5717, allocations: 0.7086 MB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.5718, allocations: 29.03 kB / 1.033 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.5719, allocations: 52.66 kB / 1.033 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.5719, allocations: 0 / 1.033 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.715/2.287, allocations: 5.981 MB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/11.57, allocations: 7.812 kB / 1.039 GB, free: 11.57 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches