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.009227/0.009227, allocations: 105 kB / 15.74 MB, free: 6.504 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.002471/0.002471, allocations: 199.2 kB / 16.68 MB, free: 6.375 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.709/2.709, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002832/0.3043, allocations: 1.286 MB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3054, allocations: 0.5814 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.3054, allocations: 0 / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.3055, allocations: 3.984 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.3055, allocations: 3.938 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.3059, allocations: 83.58 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.306, allocations: 31.84 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.306, allocations: 8 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.306, allocations: 4 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.3061, allocations: 7.938 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.3061, allocations: 0 / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.3064, allocations: 143.7 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.3064, allocations: 3.984 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.3065, allocations: 11.92 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.3067, allocations: 88.06 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3067, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3067, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3067, allocations: 0 / 1.168 GB, free: 5.004 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.0004623/0.3072, allocations: 347.2 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3072, allocations: 12.03 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3073, allocations: 34.75 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.3077, allocations: 28.89 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3079, allocations: 164.3 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3079, allocations: 384 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.3079, allocations: 4.375 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3081, allocations: 54.16 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3081, allocations: 7.938 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3081, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3081, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3082, allocations: 19.98 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.3085, allocations: 157.7 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3087, allocations: 38.55 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.3088, allocations: 20.91 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3088, allocations: 3.938 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.3088, allocations: 38.5 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3089, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003336/0.3092, allocations: 73.59 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3092, allocations: 51.41 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3094, allocations: 105.8 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3094, allocations: 25.7 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3095, allocations: 88.27 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3095, allocations: 3.953 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3095, allocations: 13.72 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3097, allocations: 318.8 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.3098, allocations: 4 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.3099, allocations: 15.98 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.31, allocations: 36.83 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.31, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.3102, allocations: 61.67 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3102, allocations: 9.656 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3102, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3102, allocations: 7.969 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3104, allocations: 11.98 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3104, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.3104, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.3104, allocations: 0 / 1.17 GB, free: 3.047 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.551e-05/0.3105, allocations: 109.8 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3106, allocations: 7.922 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.3106, allocations: 11.12 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3106, allocations: 7.938 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3106, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3106, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3108, allocations: 161.6 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3108, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.3109, allocations: 11.98 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3109, allocations: 3.938 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3109, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3109, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3109, allocations: 4 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3111, allocations: 77.09 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.3112, allocations: 89.05 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3112, allocations: 7.922 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.3113, allocations: 3.938 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.3113, allocations: 8.031 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3113, allocations: 0 / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.3114, allocations: 79.28 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 3.938 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002064/0.3116, allocations: 11.98 kB / 1.171 GB, free: 2.355 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.0006598/0.3123, allocations: 0.6358 MB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3125, allocations: 27.97 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3125, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.3126, allocations: 24.02 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3128, allocations: 7.984 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.3133, allocations: 148.1 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3136, allocations: 0.6768 MB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.3137, allocations: 12.06 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.3137, allocations: 11.42 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.3137, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.3366, allocations: 1.586 MB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.418, allocations: 8.016 kB / 1.174 GB, free: 15.27 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