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.006842/0.006842, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001584/0.001584, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.29/2.29, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.67 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2538, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003419/0.2573, allocations: 2.028 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.2598, allocations: 1.667 MB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.26, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.221e-05/0.2601, allocations: 19.78 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2602, allocations: 51.55 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2613, allocations: 358.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.2616, allocations: 219.1 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2617, allocations: 53.44 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2619, allocations: 83.78 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.262, allocations: 91.67 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.2621, allocations: 16 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007957/0.2629, allocations: 411.5 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.2629, allocations: 43.91 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.263, allocations: 87.64 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.2637, allocations: 430.6 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2637, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2637, allocations: 4 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2637, allocations: 0 / 1.093 GB, free: 12.48 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.0008133/0.2645, allocations: 0.5108 MB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2646, allocations: 8.031 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.2646, allocations: 54.73 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005843/0.2652, allocations: 84.73 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2654, allocations: 180.1 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.2655, allocations: 54.25 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.2655, allocations: 16.38 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.2659, allocations: 185.9 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2659, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.266, allocations: 8 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.266, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.2664, allocations: 183.7 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.2678, allocations: 0.911 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.2683, allocations: 170.6 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.2685, allocations: 80.77 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/0.2692, allocations: 0.5181 MB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2692, allocations: 42.55 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.2692, allocations: 4 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0007171/0.2699, allocations: 232.8 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.27, allocations: 55.41 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2701, allocations: 155.7 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2702, allocations: 37.64 kB / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.2702, allocations: 119.8 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.2703, allocations: 51.3 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.2704, allocations: 37.7 kB / 1.096 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.2705, allocations: 322.8 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.2707, allocations: 67.97 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.2709, allocations: 99.48 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.2713, allocations: 154.9 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2713, allocations: 0 / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005118/0.2718, allocations: 215.6 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2719, allocations: 4 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2719, allocations: 8.016 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2719, allocations: 4 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2722, allocations: 31.98 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2722, allocations: 3.984 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2724, allocations: 27.77 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2724, allocations: 4 kB / 1.097 GB, free: 7.461 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.0001069/0.2725, allocations: 125.8 kB / 1.097 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2726, allocations: 19.81 kB / 1.097 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.2731, allocations: 194.4 kB / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2731, allocations: 0 / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2731, allocations: 0 / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2731, allocations: 0 / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2745, allocations: 0.9817 MB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2746, allocations: 8.047 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.2748, allocations: 27.98 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.2748, allocations: 7.984 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2748, allocations: 8 kB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2748, allocations: 3.984 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2748, allocations: 3.938 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.2753, allocations: 296.9 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.2754, allocations: 88.95 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2754, allocations: 0 / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2757, allocations: 15.98 kB / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.2757, allocations: 11.92 kB / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.2757, allocations: 11.98 kB / 1.099 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.553e-05/0.2758, allocations: 125.1 kB / 1.099 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2758, allocations: 0 / 1.099 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004539/0.2763, allocations: 131.8 kB / 1.099 GB, free: 5.215 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.001098/0.2774, allocations: 0.9447 MB / 1.1 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.2779, allocations: 179.8 kB / 1.1 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2779, allocations: 3.938 kB / 1.1 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2781, allocations: 83.89 kB / 1.101 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.2785, allocations: 44.09 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.2813, allocations: 2.063 MB / 1.103 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.2816, allocations: 0.7086 MB / 1.103 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.2818, allocations: 32.92 kB / 1.103 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.2819, allocations: 39.42 kB / 1.103 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.2819, allocations: 0 / 1.103 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.3053, allocations: 6.058 MB / 1.109 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.1, allocations: 7.688 kB / 1.109 GB, free: 11.09 MB / 0.8731 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