Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_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.004811/0.004811, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001103/0.001104, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.08/2.08, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7453, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003058/0.7484, allocations: 2.034 MB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.751, allocations: 1.665 MB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.7512, allocations: 1.719 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.386e-05/0.7512, allocations: 20.53 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.7514, allocations: 48.14 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.7528, allocations: 357.4 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.7531, allocations: 222.6 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.7533, allocations: 57.2 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.7535, allocations: 81.83 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.7536, allocations: 88.06 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.7537, allocations: 18.41 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009056/0.7546, allocations: 413.6 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.7546, allocations: 38.72 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.7547, allocations: 85.86 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.7554, allocations: 431.4 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7555, allocations: 0 / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7555, allocations: 4.812 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.7555, allocations: 0.5156 kB / 1.093 GB, free: 1.891 MB / 0.8575 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.0008795/0.7564, allocations: 0.5161 MB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.7564, allocations: 10.36 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.7565, allocations: 47.41 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000639/0.7571, allocations: 89.61 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.7573, allocations: 183.3 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.7574, allocations: 44.94 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.7574, allocations: 22.11 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.7579, allocations: 184.3 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.7579, allocations: 0.6562 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.7579, allocations: 5.312 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.7579, allocations: 4.219 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.7584, allocations: 183 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.7597, allocations: 0.914 MB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.7603, allocations: 166.6 kB / 1.095 GB, free: 80 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.7605, allocations: 83.23 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.7612, allocations: 0.5204 MB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.7612, allocations: 36.19 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/0.7612, allocations: 3.984 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008123/0.7621, allocations: 243.1 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.7621, allocations: 54.34 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.7623, allocations: 156.8 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.7623, allocations: 31.48 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.7624, allocations: 122.4 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.7625, allocations: 45.5 kB / 1.096 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.7625, allocations: 38.91 kB / 1.096 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7626, allocations: 322 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.7629, allocations: 75.81 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.7631, allocations: 96.16 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.7636, allocations: 153.1 kB / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7636, allocations: 0 / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005557/0.7641, allocations: 208.8 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7642, allocations: 10.12 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7642, allocations: 0.875 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.7642, allocations: 1.219 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.7645, allocations: 43.91 kB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7645, allocations: 1.578 kB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.7647, allocations: 24.09 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.7647, allocations: 5.781 kB / 1.097 GB, free: 14.34 MB / 0.8731 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.0001242/0.7649, allocations: 140.8 kB / 1.097 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.7649, allocations: 15.31 kB / 1.097 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.7655, allocations: 196.8 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7655, allocations: 2.688 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7655, allocations: 0 / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7655, allocations: 1.469 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.767, allocations: 0.9785 MB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7671, allocations: 5.5 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.7673, allocations: 32.58 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7673, allocations: 1 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.7673, allocations: 3.047 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.7673, allocations: 1.641 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7673, allocations: 1.188 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.7679, allocations: 294.6 kB / 1.099 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.7679, allocations: 86.27 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.768, allocations: 6.938 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.7682, allocations: 12.2 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.7682, allocations: 17.5 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.7683, allocations: 9.438 kB / 1.099 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.352e-05/0.7684, allocations: 121.1 kB / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7684, allocations: 0 / 1.099 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005643/0.7689, allocations: 130 kB / 1.099 GB, free: 12.75 MB / 0.8731 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.001175/0.7701, allocations: 0.9502 MB / 1.1 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.7707, allocations: 183 kB / 1.1 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7707, allocations: 1.156 kB / 1.1 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.7709, allocations: 81.2 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.7714, allocations: 54.7 kB / 1.101 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.7743, allocations: 2.074 MB / 1.103 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.7746, allocations: 0.7104 MB / 1.103 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.7748, allocations: 31.11 kB / 1.103 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.7749, allocations: 43.41 kB / 1.103 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.7749, allocations: 0 / 1.103 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/0.854, allocations: 6.053 MB / 1.109 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.797/9.651, allocations: 9.531 kB / 1.109 GB, free: 8.859 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches