Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.00112/0.00112, 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.001102/0.001102, allocations: 193.8 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.533/2.533, allocations: 437.1 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 63.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.565, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004722/0.5697, allocations: 2.018 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.5724, allocations: 1.667 MB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.5726, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/0.5727, allocations: 19.78 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.5729, allocations: 51.55 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.574, allocations: 362.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.5742, allocations: 223.1 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.5744, allocations: 53.47 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.5745, allocations: 75.78 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.5747, allocations: 91.66 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.5747, allocations: 20 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007677/0.5755, allocations: 395.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.5756, allocations: 43.83 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.5756, allocations: 87.66 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.5763, allocations: 425.3 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5763, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5763, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5763, allocations: 0 / 1.023 GB, free: 12.92 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.00082/0.5771, allocations: 0.5186 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5772, allocations: 12.03 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.5772, allocations: 50.73 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.5778, allocations: 88.64 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.578, allocations: 180.2 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.5781, allocations: 58.19 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5781, allocations: 12.38 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.5785, allocations: 183.1 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5785, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.5786, allocations: 8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5786, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.579, allocations: 183.8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.5803, allocations: 0.9189 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.5808, allocations: 166.6 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.581, allocations: 80.81 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.5817, allocations: 0.522 MB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5817, allocations: 34.56 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.5817, allocations: 0 / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007014/0.5824, allocations: 233 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.5825, allocations: 59.39 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.5826, allocations: 160.4 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5826, allocations: 25.7 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.5827, allocations: 123.8 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.5828, allocations: 47.28 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.5828, allocations: 37.7 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.5829, allocations: 326.8 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.5832, allocations: 79.89 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.5834, allocations: 93.67 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.5838, allocations: 160.8 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5838, allocations: 0 / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005017/0.5843, allocations: 209.5 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5843, allocations: 8 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5843, allocations: 3.938 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5844, allocations: 0 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.5846, allocations: 39.97 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5847, allocations: 4 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.5848, allocations: 27.77 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.5849, allocations: 8 kB / 1.027 GB, free: 7.879 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 0.000108/0.585, allocations: 133.7 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.585, allocations: 7.906 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.5856, allocations: 194.4 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.5856, allocations: 4 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5856, allocations: 0 / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5856, allocations: 0 / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.587, allocations: 0.9894 MB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.587, allocations: 0 / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.5872, allocations: 27.98 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5872, allocations: 0 / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.5872, allocations: 7.984 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5872, allocations: 0 / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5873, allocations: 4 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.5877, allocations: 297 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.5878, allocations: 85.02 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.5878, allocations: 8 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.5881, allocations: 19.97 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.5881, allocations: 15.92 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.5881, allocations: 4 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.5882, allocations: 120.7 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5882, allocations: 0 / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004444/0.5887, allocations: 123.9 kB / 1.029 GB, free: 5.648 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.001053/0.5897, allocations: 0.948 MB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.5903, allocations: 187 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5903, allocations: 0 / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.5905, allocations: 91.89 kB / 1.03 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.5909, allocations: 44.78 kB / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.5936, allocations: 2.061 MB / 1.032 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.5939, allocations: 0.7086 MB / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.5941, allocations: 32.78 kB / 1.033 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.5942, allocations: 43.42 kB / 1.033 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5942, allocations: 0 / 1.033 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.6193, allocations: 6.006 MB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/8.047, allocations: 12.14 kB / 1.039 GB, free: 11.55 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches