Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_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.008101/0.008101, allocations: 99 kB / 15.73 MB, free: 6.441 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.002324/0.002324, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.848/2.848, allocations: 469.8 MB / 0.7426 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.97 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2971, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002537/0.2997, allocations: 1.417 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004617/0.3002, allocations: 199.4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3002, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.3002, allocations: 3.938 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.3003, allocations: 3.984 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3005, allocations: 15.92 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.3006, allocations: 39.78 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.3007, allocations: 8 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.3007, allocations: 7.984 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.3008, allocations: 7.938 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3008, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.3009, allocations: 31.97 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.3009, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.3009, allocations: 7.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.301, allocations: 35.89 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3011, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3011, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3011, allocations: 3.938 kB / 1.222 GB, free: 12.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004697/0.3016, allocations: 339.4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3016, allocations: 12.03 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.3016, allocations: 34.73 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.515e-05/0.3017, allocations: 4.891 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3019, allocations: 164.4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3019, allocations: 384 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.3019, allocations: 4.375 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3021, allocations: 58.17 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3021, allocations: 3.938 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.3021, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3021, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3023, allocations: 35.95 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.3026, allocations: 248.9 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3028, allocations: 42.47 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.3029, allocations: 24.91 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3029, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3029, allocations: 30.56 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.845e-06/0.3029, allocations: 4 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.3033, allocations: 85.59 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3034, allocations: 51.41 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.3035, allocations: 101.8 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3035, allocations: 25.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.3035, allocations: 88.08 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3036, allocations: 4.078 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.3036, allocations: 25.66 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3038, allocations: 310.8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3039, allocations: 19.97 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.3039, allocations: 11.98 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3041, allocations: 44.89 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3041, allocations: 3.938 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.3043, allocations: 65.66 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3044, allocations: 4 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3044, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3044, allocations: 3.938 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.3045, allocations: 15.92 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3045, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.3046, allocations: 16.02 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3046, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 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.822e-05/0.3047, allocations: 113.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3047, allocations: 192 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.305, allocations: 84.69 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.305, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.305, allocations: 4 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.305, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3052, allocations: 169.5 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3052, allocations: 0 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.3053, allocations: 11.98 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3053, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3053, allocations: 3.938 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3053, allocations: 0 / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3053, allocations: 0 / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3056, allocations: 175.4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3056, allocations: 81.11 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3056, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.3057, allocations: 8 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3058, allocations: 3.984 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3058, allocations: 4 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.3058, allocations: 79.28 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3058, allocations: 0 / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002265/0.3061, allocations: 12 kB / 1.224 GB, free: 9.586 MB / 0.9825 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.0005812/0.3067, allocations: 0.7012 MB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3069, allocations: 39.95 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3069, allocations: 0 / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.307, allocations: 23.92 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3073, allocations: 7.938 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.3077, allocations: 152.1 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3081, allocations: 0.6768 MB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.3081, allocations: 4 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3082, allocations: 15.36 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3082, allocations: 0 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3295, allocations: 1.37 MB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.058, allocations: 6.672 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches