Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001373/0.001373, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 58.98 kB / 0.9082 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2876, allocations: 159.2 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002752/0.2904, allocations: 1.408 MB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.2909, allocations: 201.2 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.2909, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.2909, allocations: 3.984 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.291, allocations: 3.938 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2913, allocations: 23.91 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.2914, allocations: 27.86 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.2914, allocations: 8 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.2915, allocations: 7.984 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2915, allocations: 15.94 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2916, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.2917, allocations: 39.89 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2917, allocations: 0 / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.2917, allocations: 11.94 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2918, allocations: 32.19 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2918, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2919, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2919, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004156/0.2923, allocations: 336.9 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2923, allocations: 19.91 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.2924, allocations: 34.73 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2925, allocations: 8.844 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2926, allocations: 168.3 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2926, allocations: 384 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2927, allocations: 384 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2928, allocations: 50.23 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2928, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2929, allocations: 7.984 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2929, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.293, allocations: 31.95 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2934, allocations: 244.9 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2935, allocations: 46.48 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.2936, allocations: 24.91 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2936, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2937, allocations: 30.56 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2937, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003575/0.294, allocations: 93.58 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2941, allocations: 51.41 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.2941, allocations: 105.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2942, allocations: 25.7 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.2942, allocations: 80.14 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.2942, allocations: 3.906 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.2943, allocations: 17.72 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.2944, allocations: 310.8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/0.2945, allocations: 20 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.2945, allocations: 19.98 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2947, allocations: 32.83 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.2947, allocations: 3.938 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.2949, allocations: 73.66 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2949, allocations: 5.875 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.295, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.295, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.2951, allocations: 7.984 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2951, allocations: 3.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.2951, allocations: 7.984 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.2951, allocations: 7.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.946e-05/0.2952, allocations: 122.3 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2952, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.2955, allocations: 80.7 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2955, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2955, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2955, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.2957, allocations: 161.6 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2957, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.2958, allocations: 11.98 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2958, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2958, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2958, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2958, allocations: 3.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.296, allocations: 175.3 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.2961, allocations: 85.05 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2961, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.2962, allocations: 8 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.2962, allocations: 3.984 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2962, allocations: 4.281 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.2963, allocations: 83.27 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2963, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002189/0.2965, allocations: 4 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004743/0.297, allocations: 0.7046 MB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.2972, allocations: 39.89 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2972, allocations: 64 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.2973, allocations: 23.98 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2976, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.298, allocations: 152.2 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2982, allocations: 0.6729 MB / 1.069 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.2983, allocations: 4 kB / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.2983, allocations: 15.42 kB / 1.069 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2983, allocations: 0 / 1.069 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.3161, allocations: 1.349 MB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.417, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches