Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001731/0.001731, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002179/0.002179, allocations: 217 kB / 22.25 MB, free: 4.852 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.805 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.205/3.205, allocations: 0.4892 GB / 0.7943 GB, free: 35.82 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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_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.002128/0.002128, allocations: 72.8 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3978, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002623/0.4005, allocations: 1.295 MB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.4015, allocations: 0.5374 MB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.4015, allocations: 0 / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.4016, allocations: 3.938 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.4016, allocations: 11.94 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.402, allocations: 99.55 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.668e-05/0.4021, allocations: 15.88 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.4022, allocations: 0 / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.4022, allocations: 15.94 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.4023, allocations: 3.984 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.4023, allocations: 4 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.4026, allocations: 135.8 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.4026, allocations: 4 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.4026, allocations: 7.938 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4028, allocations: 92 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4028, allocations: 0 / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4028, allocations: 0 / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4029, allocations: 0 / 1.327 GB, free: 156 kB / 1.014 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.0004977/0.4034, allocations: 282 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4034, allocations: 8.031 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.4035, allocations: 34.75 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.4039, allocations: 28.91 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4041, allocations: 114.5 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.4041, allocations: 384 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4041, allocations: 384 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4043, allocations: 50.23 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4043, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4043, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4043, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.4044, allocations: 35.84 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.4046, allocations: 132.8 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4048, allocations: 38.56 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.4049, allocations: 16.91 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4049, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.4049, allocations: 38.56 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.4049, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003224/0.4052, allocations: 81.48 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4053, allocations: 51.41 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.4054, allocations: 97.84 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4054, allocations: 25.7 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.4054, allocations: 80.14 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.4055, allocations: 20.02 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.4055, allocations: 17.7 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4057, allocations: 310.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.4057, allocations: 11.98 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.4058, allocations: 11.98 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.4059, allocations: 28.91 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4059, allocations: 7.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.4061, allocations: 61.61 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4061, allocations: 7.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4061, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4061, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.4062, allocations: 11.98 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4062, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.4063, allocations: 4.031 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4063, allocations: 7.984 kB / 1.329 GB, free: 14.37 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.941e-05/0.4064, allocations: 109.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.4064, allocations: 3.938 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.4064, allocations: 7.312 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4065, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4065, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.4066, allocations: 128.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4066, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.4067, allocations: 7.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4067, allocations: 11.88 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4067, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.4069, allocations: 85.28 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.4069, allocations: 11.97 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.4069, allocations: 7.938 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.407, allocations: 7.984 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.407, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.407, allocations: 8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.4071, allocations: 75.28 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4071, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002042/0.4073, allocations: 15.94 kB / 1.329 GB, free: 13.82 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.0006155/0.4079, allocations: 0.6397 MB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4081, allocations: 27.97 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4081, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.4082, allocations: 15.98 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4084, allocations: 12.09 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.4089, allocations: 158.5 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.131e-05/0.409, allocations: 59.34 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.815e-05/0.4091, allocations: 11.94 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.4091, allocations: 7.438 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4091, allocations: 4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.4375, allocations: 2.138 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.55, allocations: 4.5 kB / 1.332 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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_Functions_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.68452254589647]