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.007947/0.007947, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001915/0.001915, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 70.55 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2377, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00327/0.2411, allocations: 2.017 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2437, allocations: 1.671 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2438, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.2439, allocations: 15.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2441, allocations: 55.55 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2453, allocations: 350.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2456, allocations: 223.1 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2457, allocations: 53.45 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2459, allocations: 83.72 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.2461, allocations: 87.72 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2461, allocations: 20 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.247, allocations: 411.5 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.247, allocations: 47.89 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2471, allocations: 87.64 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.2479, allocations: 426.9 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2479, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2479, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2479, allocations: 0 / 1.093 GB, free: 12.43 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.0008731/0.2488, allocations: 0.5257 MB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2488, allocations: 8.031 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.2489, allocations: 50.73 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005841/0.2495, allocations: 88.75 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2497, allocations: 188.1 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.2497, allocations: 46.27 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.2498, allocations: 20.36 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.2502, allocations: 181.8 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2502, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2503, allocations: 8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2503, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.2507, allocations: 183.8 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2521, allocations: 0.9073 MB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.2526, allocations: 174.5 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2528, allocations: 80.83 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.2535, allocations: 0.5181 MB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2535, allocations: 34.5 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2535, allocations: 4 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0007146/0.2542, allocations: 239.3 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2543, allocations: 55.41 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2544, allocations: 159.9 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2544, allocations: 29.7 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.2545, allocations: 119.9 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.2546, allocations: 51.53 kB / 1.096 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.2547, allocations: 41.7 kB / 1.096 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.2548, allocations: 318.8 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.255, allocations: 75.95 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2552, allocations: 93.67 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.2556, allocations: 155.4 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2556, allocations: 3.938 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005048/0.2561, allocations: 215.6 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2561, allocations: 5.562 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2561, allocations: 0 / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2561, allocations: 0 / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2564, allocations: 39.91 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2564, allocations: 4 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.2566, allocations: 31.86 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2566, allocations: 4 kB / 1.097 GB, free: 7.387 MB / 0.8575 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.000123/0.2568, allocations: 125.8 kB / 1.097 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2568, allocations: 15.88 kB / 1.097 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.2574, allocations: 196.7 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2574, allocations: 4 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2574, allocations: 0 / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2574, allocations: 7.922 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.2589, allocations: 0.9817 MB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2589, allocations: 0 / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2591, allocations: 43.89 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2592, allocations: 0 / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2592, allocations: 8 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2592, allocations: 0 / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2592, allocations: 0 / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.2597, allocations: 297 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.2597, allocations: 85.06 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.2598, allocations: 3.984 kB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.26, allocations: 19.98 kB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.2601, allocations: 11.92 kB / 1.099 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2601, allocations: 8 kB / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.226e-05/0.2602, allocations: 120.9 kB / 1.099 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2602, allocations: 0 / 1.099 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004442/0.2606, allocations: 131.5 kB / 1.099 GB, free: 5.141 MB / 0.8575 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.001111/0.2617, allocations: 0.9484 MB / 1.1 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.2623, allocations: 178.3 kB / 1.1 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2623, allocations: 0 / 1.1 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2625, allocations: 83.97 kB / 1.101 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.263, allocations: 47.89 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.2658, allocations: 2.088 MB / 1.103 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.266, allocations: 0.7086 MB / 1.103 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.2662, allocations: 25.45 kB / 1.103 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2663, allocations: 54.41 kB / 1.103 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 8.01e-07/0.2663, allocations: 3.938 kB / 1.103 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.2924, allocations: 6.057 MB / 1.109 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.94, allocations: 11.73 kB / 1.109 GB, free: 10.98 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