Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_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.004639/0.004639, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001298/0.001298, allocations: 194.2 kB / 16.67 MB, free: 6.348 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.805/2.805, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2749, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003099/0.278, allocations: 2.04 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2804, allocations: 1.658 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.2805, allocations: 8 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.6e-05/0.2805, allocations: 15.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.873e-05/0.2806, allocations: 51.55 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.2816, allocations: 354.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.2818, allocations: 219.2 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.282, allocations: 53.45 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2821, allocations: 79.72 kB / 1.225 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2823, allocations: 87.72 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2823, allocations: 20 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.2831, allocations: 415.5 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.2831, allocations: 43.84 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.2832, allocations: 87.64 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.2838, allocations: 430.6 kB / 1.226 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2838, allocations: 4 kB / 1.226 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2838, allocations: 0 / 1.226 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2838, allocations: 0 / 1.226 GB, free: 8.73 MB / 0.9825 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.0008247/0.2847, allocations: 0.5295 MB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2847, allocations: 8.031 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.2848, allocations: 54.73 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.2854, allocations: 92.73 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2855, allocations: 176.2 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.2856, allocations: 50.25 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.2857, allocations: 16.38 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.2861, allocations: 186.6 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2861, allocations: 0 / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.2861, allocations: 8 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2861, allocations: 4 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.2866, allocations: 179.9 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.288, allocations: 0.919 MB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.2885, allocations: 170.5 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.2888, allocations: 84.58 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/0.2894, allocations: 0.5181 MB / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2895, allocations: 38.56 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.2895, allocations: 0 / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007381/0.2902, allocations: 241.7 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2903, allocations: 51.41 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2905, allocations: 165.1 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2905, allocations: 25.7 kB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.2906, allocations: 119.9 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.2906, allocations: 51.53 kB / 1.229 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.2907, allocations: 37.7 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2909, allocations: 326.8 kB / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2911, allocations: 75.95 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.2913, allocations: 95.72 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.2917, allocations: 155.3 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2917, allocations: 0 / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000534/0.2923, allocations: 209.5 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2923, allocations: 4 kB / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2923, allocations: 0 / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2923, allocations: 3.938 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.2926, allocations: 43.91 kB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2926, allocations: 8.031 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2928, allocations: 19.88 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.2928, allocations: 11.98 kB / 1.23 GB, free: 3.676 MB / 0.9825 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.0001191/0.293, allocations: 130.2 kB / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.293, allocations: 15.91 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.2936, allocations: 198.4 kB / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2936, allocations: 0 / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2936, allocations: 0 / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2936, allocations: 0 / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.2951, allocations: 0.9856 MB / 1.231 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2951, allocations: 0 / 1.231 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.2954, allocations: 39.91 kB / 1.231 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2954, allocations: 3.984 kB / 1.231 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2954, allocations: 8 kB / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2954, allocations: 4.062 kB / 1.231 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2954, allocations: 0 / 1.231 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.2959, allocations: 285 kB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.296, allocations: 97 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.296, allocations: 4 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2963, allocations: 15.98 kB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2963, allocations: 11.92 kB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2963, allocations: 4 kB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.282e-05/0.2964, allocations: 121.1 kB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2964, allocations: 0 / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004456/0.2969, allocations: 127.6 kB / 1.232 GB, free: 1.434 MB / 0.9825 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.00117/0.2981, allocations: 0.9589 MB / 1.233 GB, free: 456 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005032/0.2986, allocations: 181.4 kB / 1.233 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2986, allocations: 4 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.2988, allocations: 79.91 kB / 1.233 GB, free: 192 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2992, allocations: 47.09 kB / 1.233 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3021, allocations: 2.063 MB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3024, allocations: 0.7125 MB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.3026, allocations: 25.3 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3027, allocations: 43.42 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3027, allocations: 4 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3294, allocations: 6.046 MB / 1.242 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.022, allocations: 4.312 kB / 1.242 GB, free: 7.305 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches