Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 220.4 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 64.58 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3961, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002597/0.3987, allocations: 1.317 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3997, allocations: 0.5743 MB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.3997, allocations: 0 / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.3997, allocations: 11.94 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.3998, allocations: 7.922 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.4002, allocations: 91.58 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.18e-05/0.4003, allocations: 19.86 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.4003, allocations: 7.984 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.4004, allocations: 4 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.4004, allocations: 11.94 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.4004, allocations: 0 / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.4007, allocations: 147.8 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.4007, allocations: 7.922 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.4008, allocations: 11.92 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.401, allocations: 87.78 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.401, allocations: 0 / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.963e-06/0.401, allocations: 0 / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.401, allocations: 0 / 1.286 GB, free: 9.477 MB / 0.9825 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.0004044/0.4014, allocations: 274.1 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4014, allocations: 15.97 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.491e-05/0.4015, allocations: 4.188 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.4015, allocations: 30.75 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.402, allocations: 28.89 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.4021, allocations: 110.5 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4021, allocations: 384 / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4021, allocations: 384 / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4023, allocations: 61.91 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4023, allocations: 0 / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4023, allocations: 0 / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4023, allocations: 0 / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4024, allocations: 23.97 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.4026, allocations: 128.8 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.4027, allocations: 42.5 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/0.4028, allocations: 20.91 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4028, allocations: 0 / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4029, allocations: 38.44 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.4029, allocations: 3.984 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003109/0.4032, allocations: 73.66 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4032, allocations: 51.41 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.4033, allocations: 97.84 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4033, allocations: 25.7 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.4034, allocations: 84.14 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.4034, allocations: 8.016 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.4034, allocations: 21.7 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4036, allocations: 310.8 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.4036, allocations: 15.98 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.4037, allocations: 15.98 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.4038, allocations: 36.84 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4038, allocations: 0 / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/0.404, allocations: 57.62 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.404, allocations: 11.94 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.404, allocations: 0 / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.404, allocations: 0 / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.4041, allocations: 7.984 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4041, allocations: 7.969 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.4042, allocations: 8 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.4042, allocations: 3.984 kB / 1.288 GB, free: 7.691 MB / 0.9825 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.275e-05/0.4043, allocations: 105.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.4043, allocations: 7.938 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.4043, allocations: 7.312 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.4044, allocations: 3.938 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4044, allocations: 4 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4044, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.4045, allocations: 132.7 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4045, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.4045, allocations: 7.984 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4046, allocations: 3.938 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.4046, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.4046, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4046, allocations: 3.984 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4048, allocations: 85.11 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.4048, allocations: 23.81 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4048, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.4049, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.4049, allocations: 4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.4049, allocations: 0 / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.4049, allocations: 83.3 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4049, allocations: 3.938 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002075/0.4052, allocations: 15.94 kB / 1.288 GB, free: 7.141 MB / 0.9825 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.0005762/0.4057, allocations: 0.632 MB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.4059, allocations: 27.97 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4059, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.406, allocations: 15.92 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4062, allocations: 12.12 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.4067, allocations: 158.7 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.407, allocations: 0.669 MB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.657e-05/0.4071, allocations: 11.94 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.4071, allocations: 19.42 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4071, allocations: 3.938 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.4287, allocations: 1.707 MB / 1.292 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 6.312 kB / 1.292 GB, free: 3.938 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.79703666700516]