Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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 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.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.005036/0.005036, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001156/0.001156, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.84 kB / 1.054 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3153, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002601/0.318, allocations: 1.421 MB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.319, allocations: 0.5846 MB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.3191, allocations: 4 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.3191, allocations: 7.922 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.3192, allocations: 0 / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.3196, allocations: 103.5 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.3197, allocations: 27.88 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.3198, allocations: 3.984 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.3199, allocations: 11.98 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.3199, allocations: 11.92 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3199, allocations: 4 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.3202, allocations: 143.8 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.3202, allocations: 7.984 kB / 1.21 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.3203, allocations: 11.94 kB / 1.21 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3205, allocations: 108 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3205, allocations: 0 / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3205, allocations: 0 / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3206, allocations: 0 / 1.21 GB, free: 7.777 MB / 0.9669 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.000464/0.321, allocations: 355.4 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3211, allocations: 8.625 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.3211, allocations: 34.75 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.3216, allocations: 36.89 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3217, allocations: 160.4 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3217, allocations: 4.375 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3217, allocations: 384 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.322, allocations: 62.2 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.322, allocations: 3.938 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.322, allocations: 4 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.322, allocations: 4 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3223, allocations: 51.88 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.3228, allocations: 284.6 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3231, allocations: 62.47 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3232, allocations: 32.89 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3233, allocations: 0 / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3233, allocations: 38.56 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3233, allocations: 7.938 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0005259/0.3238, allocations: 109.5 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3239, allocations: 51.41 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.324, allocations: 109.9 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.324, allocations: 25.7 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.324, allocations: 84.14 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.324, allocations: 3.906 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.3241, allocations: 21.7 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3242, allocations: 310.8 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3244, allocations: 23.97 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3245, allocations: 31.97 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3248, allocations: 60.73 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3248, allocations: 3.938 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003306/0.3251, allocations: 89.89 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3251, allocations: 4 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3252, allocations: 0 / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3252, allocations: 0 / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3253, allocations: 19.95 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3253, allocations: 4 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.3254, allocations: 8.031 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3254, allocations: 3.984 kB / 1.212 GB, free: 5.469 MB / 0.9669 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 7.616e-05/0.3255, allocations: 113.8 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.3256, allocations: 3.906 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.3256, allocations: 7.125 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3256, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3256, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3256, allocations: 8 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3258, allocations: 165.6 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3258, allocations: 0 / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.3259, allocations: 19.91 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.326, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.326, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.326, allocations: 4 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.326, allocations: 4 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3264, allocations: 187.4 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.3264, allocations: 81.05 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3264, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3266, allocations: 11.98 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3266, allocations: 8.031 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3266, allocations: 3.984 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.3267, allocations: 79.28 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3267, allocations: 0 / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002546/0.3269, allocations: 19.94 kB / 1.212 GB, free: 4.676 MB / 0.9669 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.0007411/0.3277, allocations: 0.728 MB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.328, allocations: 63.97 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.328, allocations: 0 / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3282, allocations: 31.91 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3285, allocations: 5.562 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.3291, allocations: 168.2 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3293, allocations: 0.6807 MB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.039e-05/0.3294, allocations: 8 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3295, allocations: 11.44 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3295, allocations: 0 / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.3481, allocations: 1.687 MB / 1.216 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.911, allocations: 4.75 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches