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.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.001375/0.001375, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001441/0.001441, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.446/3.446, allocations: 0.505 GB / 0.8066 GB, free: 23.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002043/0.002043, allocations: 73.59 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3925, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002514/0.395, allocations: 1.311 MB / 1.349 GB, free: 8.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009976/0.396, allocations: 0.5651 MB / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.396, allocations: 4 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.396, allocations: 0 / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.3961, allocations: 3.938 kB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.3965, allocations: 99.55 kB / 1.35 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.3965, allocations: 19.81 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3966, allocations: 4 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.3966, allocations: 4 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.3967, allocations: 11.98 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3967, allocations: 0 / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.397, allocations: 159.7 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.397, allocations: 3.938 kB / 1.35 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.397, allocations: 4 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3972, allocations: 92 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3973, allocations: 3.984 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.561e-06/0.3973, allocations: 4 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3973, allocations: 0 / 1.35 GB, free: 7.672 MB / 1.045 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.0004608/0.3977, allocations: 353 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3978, allocations: 11.98 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.3978, allocations: 38.75 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.3982, allocations: 28.89 kB / 1.35 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3984, allocations: 168.3 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3984, allocations: 4.375 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3984, allocations: 384 / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3986, allocations: 50.22 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3986, allocations: 11.94 kB / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3986, allocations: 0 / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3986, allocations: 0 / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.3987, allocations: 19.98 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.3989, allocations: 161.5 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3991, allocations: 46.58 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.3992, allocations: 16.91 kB / 1.351 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3992, allocations: 0 / 1.351 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3992, allocations: 30.56 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3992, allocations: 4 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003225/0.3995, allocations: 77.53 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3996, allocations: 55.41 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.3997, allocations: 97.84 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3997, allocations: 29.7 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.3997, allocations: 80.14 kB / 1.351 GB, free: 6.203 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.3998, allocations: 7.891 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3998, allocations: 17.84 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4, allocations: 318.8 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.4, allocations: 8 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.4001, allocations: 11.98 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.4002, allocations: 32.83 kB / 1.352 GB, free: 5.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4002, allocations: 4.062 kB / 1.352 GB, free: 5.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.4004, allocations: 61.61 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4004, allocations: 7.938 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4004, allocations: 0 / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4005, allocations: 0 / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4006, allocations: 15.92 kB / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4006, allocations: 0 / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.4006, allocations: 4.031 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.4006, allocations: 4 kB / 1.352 GB, free: 5.695 MB / 1.045 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.673e-05/0.4007, allocations: 109.8 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.4007, allocations: 7.922 kB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.4008, allocations: 7.125 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4008, allocations: 192 / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4008, allocations: 0 / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4008, allocations: 7.984 kB / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4009, allocations: 153.7 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4009, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.401, allocations: 7.984 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.401, allocations: 7.875 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.401, allocations: 4 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.401, allocations: 0 / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.401, allocations: 0 / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.4012, allocations: 96.98 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.4013, allocations: 77.11 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4013, allocations: 7.922 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.4014, allocations: 8 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.4014, allocations: 0 / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4014, allocations: 0 / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.4015, allocations: 83.28 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4015, allocations: 4.031 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002116/0.4017, allocations: 15.92 kB / 1.352 GB, free: 5.008 MB / 1.045 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.000633/0.4023, allocations: 0.6319 MB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.4025, allocations: 27.97 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4025, allocations: 0 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.4026, allocations: 15.98 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.4028, allocations: 6.344 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.4034, allocations: 160.1 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4037, allocations: 0.6768 MB / 1.354 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.09e-05/0.4038, allocations: 11.94 kB / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.4038, allocations: 11.42 kB / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.4038, allocations: 0 / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.4375, allocations: 1.589 MB / 1.355 GB, free: 1.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.5, allocations: 11.73 kB / 1.355 GB, free: 1.918 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.780488412128761]