Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.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.001735/0.001735, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.002113/0.002113, allocations: 217.9 kB / 22.25 MB, free: 5.266 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.357/3.357, allocations: 0.49 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",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.002056/0.002056, allocations: 65.3 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3906, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002866/0.3935, allocations: 1.441 MB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3947, allocations: 0.5534 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.3947, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.3947, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.3948, allocations: 3.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.3952, allocations: 103.6 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.3953, allocations: 23.88 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.3954, allocations: 11.97 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.3954, allocations: 8 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.3955, allocations: 15.92 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3955, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.3958, allocations: 147.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3958, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.3958, allocations: 7.938 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.396, allocations: 103.7 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.396, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.163e-06/0.396, allocations: 4 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.396, allocations: 3.938 kB / 1.328 GB, free: 15.09 MB / 1.029 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.0004632/0.3965, allocations: 283.5 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3965, allocations: 12.03 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.3966, allocations: 30.75 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.3971, allocations: 28.89 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3972, allocations: 118.4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3972, allocations: 8.375 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3972, allocations: 384 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.3974, allocations: 66.2 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3975, allocations: 3.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3975, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3975, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.3977, allocations: 55.94 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3982, allocations: 240 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3984, allocations: 62.41 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3985, allocations: 36.89 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3986, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3986, allocations: 30.56 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3986, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005215/0.3991, allocations: 117.6 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3992, allocations: 51.41 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.3993, allocations: 101.8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3993, allocations: 25.7 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.3993, allocations: 84.14 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3994, allocations: 7.953 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.3994, allocations: 17.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3995, allocations: 310.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3997, allocations: 27.91 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3998, allocations: 32 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.4001, allocations: 60.8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4001, allocations: 3.938 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003032/0.4004, allocations: 93.59 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4004, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4004, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4004, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4005, allocations: 19.91 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4005, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.4006, allocations: 8.031 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4006, allocations: 3.984 kB / 1.33 GB, free: 12.98 MB / 1.029 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 9.453e-05/0.4007, allocations: 118.3 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.4008, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.4008, allocations: 3.312 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4008, allocations: 4.188 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4008, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4008, allocations: 3.984 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.401, allocations: 132.7 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.401, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.4011, allocations: 15.97 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4011, allocations: 4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4011, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4011, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4011, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.4015, allocations: 191.4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.4015, allocations: 7.891 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.4015, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4016, allocations: 11.98 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.4016, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.4017, allocations: 3.984 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.4017, allocations: 79.28 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002528/0.402, allocations: 12.03 kB / 1.331 GB, free: 12.32 MB / 1.029 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.000752/0.4027, allocations: 0.7356 MB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.403, allocations: 63.97 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.403, allocations: 0 / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.4032, allocations: 27.97 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4035, allocations: 0 / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.4042, allocations: 180.4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.4042, allocations: 59.34 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.914e-05/0.4043, allocations: 15.84 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.4043, allocations: 7.438 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4043, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.434, allocations: 2.238 MB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.42, allocations: 6.016 kB / 1.334 GB, free: 9.043 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.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.565638036991004]