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.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001511/0.001511, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.039 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.333/3.333, allocations: 0.49 GB / 0.7951 GB, free: 33.6 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.002083/0.002083, allocations: 66.28 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3906, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002819/0.3934, allocations: 1.45 MB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3945, allocations: 0.6078 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.3946, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.3946, allocations: 3.938 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.3947, allocations: 3.938 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.3951, allocations: 99.56 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.3952, allocations: 23.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.3953, allocations: 11.98 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.3953, allocations: 8 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.3954, allocations: 15.92 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3954, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.3957, allocations: 155.7 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3957, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.3957, allocations: 7.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3959, allocations: 107.6 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3959, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3959, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3959, allocations: 4 kB / 1.328 GB, free: 15.49 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.0004424/0.3964, allocations: 283.5 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3964, allocations: 12.03 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3965, allocations: 34.75 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3969, allocations: 28.89 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.397, allocations: 114.4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.397, allocations: 4.375 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.397, allocations: 384 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3973, allocations: 66.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3973, allocations: 7.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3973, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3973, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.3976, allocations: 59.88 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.398, allocations: 240 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3983, allocations: 66.41 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3984, allocations: 32.89 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3984, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3984, allocations: 38.48 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3984, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005122/0.399, allocations: 109.6 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.399, allocations: 59.33 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.3991, allocations: 101.9 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3991, allocations: 25.7 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.3992, allocations: 80.27 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3992, allocations: 7.953 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3992, allocations: 21.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3994, allocations: 310.8 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3995, allocations: 27.97 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3996, allocations: 23.97 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.3998, allocations: 64.86 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3998, allocations: 3.938 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002948/0.4001, allocations: 93.53 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4002, allocations: 5.719 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4002, allocations: 8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4002, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4003, allocations: 15.97 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4003, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.4004, allocations: 7.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.4004, allocations: 0 / 1.33 GB, free: 13.38 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 8.514e-05/0.4005, allocations: 118.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4005, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.4006, allocations: 7.312 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4006, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4006, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4006, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4008, allocations: 140.6 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4008, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4009, allocations: 19.98 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4009, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4009, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4009, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4009, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.4012, allocations: 187.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.4012, allocations: 15.89 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4013, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4014, allocations: 7.984 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.4014, allocations: 7.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4014, allocations: 3.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.4015, allocations: 79.28 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4015, allocations: 4.031 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002398/0.4017, allocations: 8 kB / 1.331 GB, free: 12.71 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.0006964/0.4024, allocations: 0.7357 MB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.4027, allocations: 55.94 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4027, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.4028, allocations: 32.03 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.4031, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.4037, allocations: 168.3 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.404, allocations: 0.6806 MB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.84e-05/0.4041, allocations: 12.06 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.4041, allocations: 15.42 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4041, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.432, allocations: 1.77 MB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.02, allocations: 4.891 kB / 1.334 GB, free: 9.281 MB / 1.029 GB " [Timeout remaining time 289] (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.211283865999576]