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.001384/0.001384, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001451/0.001451, allocations: 217.6 kB / 22.25 MB, free: 5.105 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.809 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.368/3.368, allocations: 0.49 GB / 0.7951 GB, free: 35.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.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.002036/0.002036, allocations: 68.75 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002954/0.3732, allocations: 1.308 MB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3743, allocations: 0.5297 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.3743, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.3743, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.3743, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.3748, allocations: 95.56 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.3749, allocations: 19.86 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3749, allocations: 7.984 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.3749, allocations: 7.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.375, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.375, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3753, allocations: 147.7 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.3753, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.3753, allocations: 7.938 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.3755, allocations: 92.05 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3755, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3756, allocations: 7.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.27 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004258/0.376, allocations: 270.1 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.376, allocations: 12.03 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.3761, allocations: 38.69 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.3765, allocations: 28.89 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3766, allocations: 110.5 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3767, allocations: 4.359 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3767, allocations: 384 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3768, allocations: 54.16 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3769, allocations: 7.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3769, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3769, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.377, allocations: 19.98 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.3772, allocations: 124.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3773, allocations: 38.58 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.3774, allocations: 24.92 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3774, allocations: 7.922 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3775, allocations: 30.56 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.3775, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003026/0.3778, allocations: 77.55 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3778, allocations: 51.41 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.3779, allocations: 102 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3779, allocations: 29.7 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.3779, allocations: 84.12 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.378, allocations: 7.891 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.378, allocations: 21.7 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3781, allocations: 310.8 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.3782, allocations: 15.92 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.3783, allocations: 15.92 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3784, allocations: 32.91 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3784, allocations: 0 / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/0.3786, allocations: 57.67 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3786, allocations: 11.94 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3786, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3786, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3787, allocations: 12.02 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3787, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.3788, allocations: 7.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3788, allocations: 0 / 1.33 GB, free: 13.49 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.173e-05/0.3789, allocations: 109.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.3789, allocations: 7.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.3789, allocations: 7.312 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3789, allocations: 7.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3789, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3789, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3791, allocations: 124.8 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3791, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.3791, allocations: 7.984 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.3791, allocations: 3.938 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3791, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3791, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3791, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.3794, allocations: 89.09 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.3794, allocations: 7.953 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3794, allocations: 7.922 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-05/0.3795, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.3795, allocations: 7.938 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.3795, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.3795, allocations: 91.44 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3795, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002073/0.3797, allocations: 11.94 kB / 1.33 GB, free: 12.94 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.0006007/0.3803, allocations: 0.6358 MB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.3805, allocations: 27.97 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3805, allocations: 3.938 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.3806, allocations: 20.08 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3809, allocations: 8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.3813, allocations: 152.4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.3814, allocations: 59.34 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.602e-05/0.3814, allocations: 16 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3815, allocations: 11.42 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3815, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.4119, allocations: 2.157 MB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.38, allocations: 4.703 kB / 1.333 GB, free: 9.895 MB / 1.029 GB " [Timeout remaining time 289] (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.577905009995447]