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.0053/0.0053, allocations: 106.2 kB / 15.74 MB, free: 6 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.001239/0.001239, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.881/2.881, allocations: 437 MB / 0.7105 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 67.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3254, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00233/0.3277, allocations: 1.293 MB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.3286, allocations: 0.5735 MB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.3287, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.3287, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.3288, allocations: 11.92 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.3292, allocations: 99.56 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.3293, allocations: 19.86 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.3293, allocations: 0 / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.3294, allocations: 4 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.3294, allocations: 7.938 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.3294, allocations: 0 / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.3297, allocations: 151.7 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.3297, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.3298, allocations: 15.94 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.33, allocations: 86.7 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.33, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.33, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.33, allocations: 0 / 1.168 GB, free: 5.02 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.0003937/0.3304, allocations: 348.3 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3304, allocations: 8.031 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.3305, allocations: 30.75 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.3309, allocations: 36.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.331, allocations: 160.4 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.3311, allocations: 384 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3311, allocations: 4.375 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3313, allocations: 50.17 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3313, allocations: 3.938 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3313, allocations: 3.984 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3313, allocations: 4 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3314, allocations: 19.98 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.3316, allocations: 157.7 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3317, allocations: 42.58 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3318, allocations: 20.91 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3318, allocations: 0 / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3319, allocations: 46.44 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3319, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002986/0.3322, allocations: 69.72 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3322, allocations: 59.41 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.3323, allocations: 89.86 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3323, allocations: 29.7 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.3323, allocations: 84.12 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.3324, allocations: 15.83 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3324, allocations: 13.72 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.3325, allocations: 314.8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.3326, allocations: 16 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.3327, allocations: 7.984 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3328, allocations: 32.78 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3328, allocations: 4 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.333, allocations: 61.72 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.333, allocations: 11.88 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.333, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.333, allocations: 4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3331, allocations: 8.172 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3332, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.3332, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.3332, allocations: 4 kB / 1.17 GB, free: 3.059 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 6.843e-05/0.3333, allocations: 113.9 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.3333, allocations: 11.83 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.3334, allocations: 11.11 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3334, allocations: 3.938 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3334, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3334, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3335, allocations: 153.7 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3335, allocations: 0 / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.3336, allocations: 11.98 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3336, allocations: 3.938 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3336, allocations: 4 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3336, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3337, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3339, allocations: 89.09 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.3339, allocations: 77.11 kB / 1.17 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3339, allocations: 3.938 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.334, allocations: 7.984 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.334, allocations: 3.938 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.334, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.3341, allocations: 83.28 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3341, allocations: 3.938 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002141/0.3343, allocations: 16 kB / 1.171 GB, free: 2.375 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.0005262/0.3348, allocations: 0.632 MB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.335, allocations: 32 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3351, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.3351, allocations: 19.92 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3354, allocations: 8 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.336, allocations: 160.2 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3362, allocations: 0.6768 MB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.11e-05/0.3363, allocations: 4 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.3363, allocations: 11.44 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3363, allocations: 0 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.3547, allocations: 1.581 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.982, allocations: 7.938 kB / 1.174 GB, free: 15.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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