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.007233/0.007233, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001699/0.001699, allocations: 196.6 kB / 16.67 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 66.62 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2489, 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): time 0.003265/0.2522, allocations: 2.022 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2546, allocations: 1.659 MB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2548, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.648e-05/0.2549, allocations: 19.78 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.255, allocations: 51.56 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2562, allocations: 354.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.2564, allocations: 223.1 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2566, allocations: 57.44 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2567, allocations: 79.78 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2569, allocations: 91.72 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.2569, allocations: 16 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008337/0.2578, allocations: 411.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.2578, allocations: 51.83 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.2579, allocations: 83.66 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.2586, allocations: 434.9 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2586, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2587, allocations: 3.938 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2587, 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.0008664/0.2595, allocations: 0.5217 MB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2596, allocations: 12.03 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/0.2597, allocations: 54.73 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.2603, allocations: 88.73 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.2604, allocations: 176.2 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.2605, allocations: 54.25 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2605, allocations: 16.38 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.261, allocations: 181.9 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.261, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.261, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.261, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.2615, allocations: 187.7 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.2629, allocations: 0.9073 MB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.2634, allocations: 174.6 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.2636, allocations: 80.81 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/0.2643, allocations: 0.522 MB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2643, allocations: 34.56 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.2643, allocations: 3.938 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0007211/0.265, allocations: 235.5 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2651, allocations: 59.41 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2652, allocations: 157.5 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.2653, allocations: 33.7 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.2653, allocations: 111.9 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.2654, allocations: 59.52 kB / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.2655, allocations: 37.7 kB / 1.096 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.2656, allocations: 322.8 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.2658, allocations: 75.95 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.266, allocations: 99.48 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.2664, allocations: 151.3 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2664, allocations: 0 / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004954/0.2669, allocations: 219.5 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2669, allocations: 5.562 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2669, allocations: 0 / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.267, allocations: 4 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2672, allocations: 35.97 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2672, allocations: 3.938 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2674, allocations: 31.86 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2674, allocations: 11.92 kB / 1.097 GB, free: 7.375 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.0001071/0.2675, allocations: 125.8 kB / 1.097 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.2676, allocations: 11.95 kB / 1.098 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.2681, allocations: 202.4 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2681, allocations: 0 / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2681, allocations: 0 / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2681, allocations: 0 / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.2695, allocations: 0.9817 MB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2695, allocations: 4 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2697, allocations: 31.97 kB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2697, allocations: 4 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2698, allocations: 4 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2698, allocations: 0 / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2698, allocations: 3.938 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.2703, allocations: 294.7 kB / 1.099 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.2704, allocations: 89.05 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.2704, allocations: 0 / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2706, allocations: 19.98 kB / 1.099 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.2707, allocations: 11.92 kB / 1.099 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2707, allocations: 12 kB / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.2708, allocations: 117.1 kB / 1.099 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2708, allocations: 0 / 1.099 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004552/0.2712, allocations: 135.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.001114/0.2724, allocations: 0.9445 MB / 1.1 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.2729, allocations: 179.1 kB / 1.1 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2729, allocations: 0 / 1.1 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.2731, allocations: 87.91 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.0004358/0.2735, allocations: 43.84 kB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.2763, allocations: 2.063 MB / 1.103 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2765, allocations: 0.7086 MB / 1.103 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.2767, allocations: 36.66 kB / 1.103 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2768, allocations: 47.42 kB / 1.103 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2768, allocations: 0 / 1.103 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3007, allocations: 6.045 MB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.113, allocations: 5.5 kB / 1.109 GB, free: 11.01 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