Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_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.006519/0.006519, allocations: 99.31 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.001236/0.001236, allocations: 187.7 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.421/1.421, 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 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.11 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002379/0.2949, allocations: 1.291 MB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.2958, allocations: 0.5608 MB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.2958, allocations: 0 / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.2959, allocations: 7.984 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.2959, allocations: 11.92 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2964, allocations: 91.58 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.2965, allocations: 23.8 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.2965, allocations: 4 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.2965, allocations: 4 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.2966, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2966, allocations: 4 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.2969, allocations: 147.7 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.2969, allocations: 7.922 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.297, allocations: 12 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2972, allocations: 91.91 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2972, allocations: 0 / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2972, allocations: 0 / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2972, allocations: 0 / 1.209 GB, free: 7.855 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003893/0.2976, allocations: 351.4 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2976, allocations: 8.625 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.2977, allocations: 34.69 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.2981, allocations: 32.89 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2982, allocations: 164.4 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2983, allocations: 384 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2983, allocations: 8.312 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2984, allocations: 46.22 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2985, allocations: 3.938 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2985, allocations: 0 / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2985, allocations: 4 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2986, allocations: 19.98 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.2988, allocations: 165.5 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.299, allocations: 42.59 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.299, allocations: 20.84 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2991, allocations: 4 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2991, allocations: 34.56 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2991, allocations: 3.938 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003099/0.2994, allocations: 73.72 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2995, allocations: 55.41 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.2995, allocations: 101.8 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2996, allocations: 25.7 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.2996, allocations: 80.14 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.2996, allocations: 11.84 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.2997, allocations: 17.7 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.2998, allocations: 310.8 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.2998, allocations: 23.92 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.2999, allocations: 4 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3001, allocations: 36.83 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3001, allocations: 0 / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.3002, allocations: 57.73 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3003, allocations: 11.94 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3003, allocations: 0 / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3003, allocations: 0 / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3004, allocations: 7.984 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3004, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.3005, allocations: 7.906 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3005, allocations: 3.938 kB / 1.211 GB, free: 5.883 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 6.76e-05/0.3006, allocations: 117.9 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.3006, allocations: 7.938 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.3006, allocations: 3.125 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3007, allocations: 3.938 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3007, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3007, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.3008, allocations: 153.7 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3008, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.3009, allocations: 19.98 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3009, allocations: 3.938 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3009, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3009, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3009, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.3011, allocations: 89.09 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.3012, allocations: 85.03 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3012, allocations: 7.938 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.3013, allocations: 3.938 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.3013, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3013, allocations: 8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.3014, allocations: 79.27 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3014, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002141/0.3016, allocations: 16 kB / 1.212 GB, free: 5.203 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.0005169/0.3021, allocations: 0.6286 MB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3023, allocations: 35.94 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3023, allocations: 0 / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.3024, allocations: 15.98 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3026, allocations: 4 kB / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.3031, allocations: 152.2 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3033, allocations: 0.6768 MB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.918e-05/0.3034, allocations: 11.94 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3035, allocations: 13.67 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3035, allocations: 0 / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.3205, allocations: 1.594 MB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.957, allocations: 10.94 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches