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.001752/0.001753, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002462/0.002462, allocations: 189.8 kB / 16.25 MB, free: 6.621 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.671/1.671, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.275/4.275, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.09 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3968, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002848/0.3997, allocations: 1.348 MB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000873/0.4006, allocations: 0.5692 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.4006, allocations: 0 / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.4006, allocations: 0 / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.4007, allocations: 15.84 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.4011, allocations: 83.66 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.991e-05/0.4012, allocations: 23.86 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.4012, allocations: 4 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.4013, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.4013, allocations: 7.984 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4013, allocations: 3.938 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.4016, allocations: 147.7 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.4016, allocations: 3.938 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.4017, allocations: 11.98 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.4019, allocations: 92.05 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4019, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4019, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.402, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 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.00041/0.4024, allocations: 345.1 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4024, allocations: 8.625 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.4025, allocations: 34.75 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.4029, allocations: 28.89 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4031, allocations: 168.3 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.4031, allocations: 384 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4031, allocations: 4.375 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.4033, allocations: 54.16 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4033, allocations: 3.938 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4033, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4033, allocations: 4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4035, allocations: 15.98 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.4037, allocations: 177.4 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.4038, allocations: 38.56 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.4039, allocations: 24.84 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.404, allocations: 0 / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.404, allocations: 38.56 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.404, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003985/0.4044, allocations: 73.59 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4045, allocations: 51.41 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4046, allocations: 97.84 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4046, allocations: 25.7 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.4047, allocations: 84.27 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.4047, allocations: 11.91 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.4048, allocations: 13.7 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4049, allocations: 314.8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.405, allocations: 15.92 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.4051, allocations: 8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.4052, allocations: 36.89 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4052, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001738/0.4054, allocations: 57.67 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4054, allocations: 7.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4055, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4055, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4056, allocations: 12.02 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4056, allocations: 3.938 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.4057, allocations: 7.938 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4057, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 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.656e-05/0.4058, allocations: 121.8 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.4058, allocations: 3.938 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.4058, allocations: 7.125 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4058, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4059, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4059, allocations: 4 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.406, allocations: 153.7 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.406, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.4061, allocations: 11.92 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4061, allocations: 3.938 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4061, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4061, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4061, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.4063, allocations: 89 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.4064, allocations: 81.09 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4064, allocations: 7.938 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.4065, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.4065, allocations: 7.969 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4065, allocations: 4.188 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.4066, allocations: 87.25 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4066, allocations: 0 / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000214/0.4068, allocations: 16 kB / 1.057 GB, free: 3.641 MB / 0.8106 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.0005033/0.4073, allocations: 0.628 MB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.4075, allocations: 31.91 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4075, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.4076, allocations: 20.08 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4078, allocations: 4 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.4083, allocations: 164.2 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.4085, allocations: 0.669 MB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.194e-05/0.4086, allocations: 16 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.4086, allocations: 15.42 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.4086, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.412/1.82, allocations: 1.478 MB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004121/1.821, allocations: 232.2 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/4.458, allocations: 1.75 kB / 1.06 GB, free: 452 kB / 0.8106 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