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.001823/0.001823, allocations: 105.1 kB / 16.45 MB, free: 6.453 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.002136/0.002136, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.379/3.379, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.002061/0.002061, allocations: 67.36 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3892, allocations: 176.1 MB / 1.321 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00272/0.392, allocations: 1.3 MB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.393, allocations: 0.5806 MB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.3931, allocations: 3.938 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.3931, allocations: 0 / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.3931, allocations: 11.92 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.3936, allocations: 95.56 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.3937, allocations: 23.86 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3937, allocations: 0 / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.3937, allocations: 4 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.3938, allocations: 7.938 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3938, allocations: 0 / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.3941, allocations: 155.7 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.3941, allocations: 3.984 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.3942, allocations: 8 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3944, allocations: 95.98 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3944, allocations: 4 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3944, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3944, allocations: 0 / 1.323 GB, free: 0.9102 MB / 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.0004859/0.3949, allocations: 347.2 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3949, allocations: 11.98 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.395, allocations: 38.69 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/0.3954, allocations: 36.89 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3956, allocations: 160.4 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.3956, allocations: 384 / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3956, allocations: 4.359 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3958, allocations: 46.23 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3958, allocations: 7.875 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3958, allocations: 4 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3958, allocations: 0 / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.3959, allocations: 27.97 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.3962, allocations: 153.7 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3963, allocations: 42.48 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.3964, allocations: 24.86 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3964, allocations: 0 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3965, allocations: 34.55 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3965, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.3968, allocations: 81.48 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3968, allocations: 55.53 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.3969, allocations: 93.86 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3969, allocations: 29.7 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.397, allocations: 80.14 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.397, allocations: 7.891 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3971, allocations: 17.7 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3972, allocations: 314.8 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.3973, allocations: 15.98 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.3973, allocations: 15.98 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3975, allocations: 24.84 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3975, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.3977, allocations: 61.67 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3977, allocations: 14.28 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3977, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3977, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3978, allocations: 11.98 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3978, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.3979, allocations: 7.984 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3979, allocations: 0 / 1.325 GB, free: 14.94 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.513e-05/0.398, allocations: 113.9 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.398, allocations: 7.938 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.3981, allocations: 3.125 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3981, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3981, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3981, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3982, allocations: 157.7 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3982, allocations: 4.188 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.3983, allocations: 4 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3983, allocations: 7.938 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3983, allocations: 7.969 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3983, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3983, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3985, allocations: 89 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.3986, allocations: 89.12 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3987, allocations: 11.88 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.3987, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.3987, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3987, allocations: 7.984 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.3988, allocations: 75.28 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3988, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002128/0.399, allocations: 15.94 kB / 1.325 GB, free: 14.26 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.0007037/0.3997, allocations: 0.6319 MB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3999, allocations: 36 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3999, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.4, allocations: 11.98 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.4003, allocations: 17.86 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.4009, allocations: 156 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.4013, allocations: 0.6769 MB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.119e-05/0.4013, allocations: 11.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.4014, allocations: 7.438 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4014, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.4272, allocations: 1.592 MB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.446, allocations: 9.719 kB / 1.328 GB, free: 11.16 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.64798335521482]