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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_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.001708/0.001708, allocations: 108 kB / 15.6 MB, free: 132 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.002127/0.002127, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5651/0.5666, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002796/0.5694, allocations: 2.035 MB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.5713, allocations: 1.656 MB / 0.9533 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.5714, allocations: 2.656 kB / 0.9533 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.5714, allocations: 21.16 kB / 0.9533 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.662e-05/0.5715, allocations: 45.84 kB / 0.9534 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.5724, allocations: 358.8 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.5726, allocations: 226 kB / 0.9539 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.5727, allocations: 62.7 kB / 0.954 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.5728, allocations: 80.94 kB / 0.9541 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.5729, allocations: 84.75 kB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.573, allocations: 17.5 kB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.5737, allocations: 405.1 kB / 0.9546 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.5737, allocations: 37.22 kB / 0.9546 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.5738, allocations: 85.81 kB / 0.9547 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.5743, allocations: 429.4 kB / 0.9551 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5743, allocations: 4 kB / 0.9551 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5743, allocations: 1.156 kB / 0.9551 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5743, allocations: 0 / 0.9551 GB, free: 5.117 MB / 0.7169 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.0006591/0.575, allocations: 0.5142 MB / 0.9556 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.575, allocations: 10.38 kB / 0.9556 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.5751, allocations: 51.2 kB / 0.9556 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.5756, allocations: 95.2 kB / 0.9557 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.5757, allocations: 180.4 kB / 0.9559 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.5758, allocations: 47 kB / 0.956 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.5758, allocations: 17.62 kB / 0.956 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.5762, allocations: 187 kB / 0.9562 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5762, allocations: 0 / 0.9562 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.5763, allocations: 5.156 kB / 0.9562 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5763, allocations: 4.594 kB / 0.9562 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.5767, allocations: 179.3 kB / 0.9563 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.5778, allocations: 0.9212 MB / 0.9572 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.5783, allocations: 170.3 kB / 0.9574 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.5785, allocations: 77.95 kB / 0.9575 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005045/0.579, allocations: 0.5245 MB / 0.958 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.579, allocations: 35.88 kB / 0.958 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.579, allocations: 0 / 0.958 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006729/0.5797, allocations: 240 kB / 0.9582 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.5798, allocations: 57 kB / 0.9583 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.5799, allocations: 153.8 kB / 0.9584 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5799, allocations: 32.23 kB / 0.9585 GB, free: 2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.5799, allocations: 120.8 kB / 0.9586 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.58, allocations: 45.33 kB / 0.9586 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.58, allocations: 39.17 kB / 0.9587 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.5801, allocations: 321.4 kB / 0.959 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.5803, allocations: 80.92 kB / 0.9591 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5805, allocations: 90.83 kB / 0.9591 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.5809, allocations: 152.3 kB / 0.9593 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5809, allocations: 0 / 0.9593 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004771/0.5814, allocations: 217.1 kB / 0.9595 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5814, allocations: 5.688 kB / 0.9595 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5814, allocations: 1.094 kB / 0.9595 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5814, allocations: 1.094 kB / 0.9595 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.5817, allocations: 35.38 kB / 0.9595 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5817, allocations: 2.219 kB / 0.9595 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.5819, allocations: 32.36 kB / 0.9596 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5819, allocations: 4.125 kB / 0.9596 GB, free: 1.156 MB / 0.7169 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 7.985e-05/0.582, allocations: 140 kB / 0.9597 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.5821, allocations: 11.31 kB / 0.9597 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.5826, allocations: 197.3 kB / 0.9599 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5826, allocations: 5.953 kB / 0.9599 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.5826, allocations: 0 / 0.9599 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5826, allocations: 1.062 kB / 0.9599 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.5838, allocations: 0.9849 MB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5838, allocations: 0.8438 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.5841, allocations: 30.72 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5841, allocations: 1.062 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5841, allocations: 2.156 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5841, allocations: 0.875 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5841, allocations: 1.156 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.5846, allocations: 298.2 kB / 0.9612 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.5847, allocations: 88.28 kB / 0.9613 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.5847, allocations: 6.188 kB / 0.9613 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.585, allocations: 16.14 kB / 0.9613 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.585, allocations: 16.64 kB / 0.9613 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.585, allocations: 4.281 kB / 0.9613 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.5851, allocations: 123 kB / 0.9614 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5851, allocations: 5.031 kB / 0.9614 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004608/0.5856, allocations: 125.8 kB / 0.9616 GB, free: 15.39 MB / 0.7325 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.001033/0.5866, allocations: 0.9453 MB / 0.9625 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.5871, allocations: 186.8 kB / 0.9627 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5872, allocations: 3.938 kB / 0.9627 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.5874, allocations: 86.22 kB / 0.9627 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.5878, allocations: 46.08 kB / 0.9628 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.5905, allocations: 2.046 MB / 0.9648 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.5907, allocations: 0.71 MB / 0.9655 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.5909, allocations: 32.84 kB / 0.9655 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.591, allocations: 46.78 kB / 0.9656 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.591, allocations: 0 / 0.9656 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.6157, allocations: 5.973 MB / 0.9714 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.06, allocations: 16.56 kB / 0.9714 GB, free: 8.977 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches