Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.007407/0.007407, allocations: 98.48 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.002134/0.002134, allocations: 194.1 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002326/0.2802, allocations: 1.289 MB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.2812, allocations: 0.5736 MB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.2813, allocations: 0 / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2813, allocations: 3.984 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.2814, allocations: 7.922 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.2818, allocations: 91.58 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.2819, allocations: 23.86 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.2819, allocations: 4 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.282, allocations: 8 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.282, allocations: 7.938 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.282, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.2823, allocations: 143.7 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.2824, allocations: 4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.2824, allocations: 11.92 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.2826, allocations: 88.06 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2826, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2826, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2827, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004001/0.2831, allocations: 343.2 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2831, allocations: 8.031 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.2831, allocations: 34.75 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.2836, allocations: 36.89 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2837, allocations: 168.3 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2837, allocations: 384 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2837, allocations: 384 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.2839, allocations: 54.16 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2839, allocations: 3.938 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2839, allocations: 0 / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.284, allocations: 4 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2841, allocations: 23.98 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.2843, allocations: 153.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2844, allocations: 38.55 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.2845, allocations: 28.84 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2845, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2846, allocations: 34.5 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2846, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003059/0.2849, allocations: 73.59 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2849, allocations: 55.53 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.285, allocations: 97.84 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.285, allocations: 29.7 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.2851, allocations: 80.14 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2851, allocations: 7.953 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.2851, allocations: 9.719 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.2852, allocations: 322.8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.2853, allocations: 11.98 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.2854, allocations: 15.94 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2855, allocations: 28.83 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2855, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.2857, allocations: 61.73 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2857, allocations: 7.938 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2857, allocations: 4 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2858, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2859, allocations: 15.92 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2859, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.286, allocations: 4 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.286, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 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 8.483e-05/0.2861, allocations: 121.8 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.2861, allocations: 3.938 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.2861, allocations: 3.125 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2861, allocations: 192 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2861, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2862, allocations: 7.984 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.2863, allocations: 161.6 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2863, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.2864, allocations: 7.984 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2864, allocations: 7.938 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2864, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2864, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2864, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.2866, allocations: 85.09 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.2867, allocations: 93.08 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2867, allocations: 11.86 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.2868, allocations: 0 / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.2868, allocations: 0 / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2868, allocations: 7.938 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.2868, allocations: 79.27 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2869, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000207/0.2871, allocations: 12 kB / 1.171 GB, free: 2.434 MB / 0.92 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 (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 Backend phase and start with SimCode phase: time 0.0005149/0.2876, allocations: 0.6319 MB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2878, allocations: 36 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.2878, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.2879, allocations: 15.92 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.2881, allocations: 10.34 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.2886, allocations: 144.2 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2888, allocations: 0.6846 MB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.334e-05/0.2889, allocations: 4 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.2889, allocations: 15.42 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.2889, allocations: 0 / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.3064, allocations: 1.583 MB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/7.988, allocations: 3.953 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches