Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001386/0.001386, 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.001569/0.001569, allocations: 209.5 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.497/1.497, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.954/2.954, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_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.002146/0.002146, allocations: 65.31 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3757, allocations: 170 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003107/0.3788, allocations: 1.438 MB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3799, allocations: 0.5548 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.38, allocations: 0 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.38, allocations: 3.938 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.3801, allocations: 15.91 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.3805, allocations: 95.58 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.3806, allocations: 27.86 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.3807, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.3808, allocations: 11.98 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.3808, allocations: 11.94 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3808, allocations: 4 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.3812, allocations: 143.7 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3812, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.3812, allocations: 4 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3815, allocations: 103.3 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3815, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3815, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3815, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 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.0005145/0.382, allocations: 302 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.382, allocations: 8.031 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.3821, allocations: 30.75 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.3826, allocations: 36.89 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3827, allocations: 106.5 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3827, allocations: 384 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3827, allocations: 4.375 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.383, allocations: 70.14 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.383, allocations: 3.938 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.383, allocations: 0 / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.383, allocations: 0 / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.3833, allocations: 51.94 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.3837, allocations: 240 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.384, allocations: 58.42 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3841, allocations: 32.89 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3841, allocations: 0 / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3842, allocations: 42.55 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3842, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005376/0.3847, allocations: 109.6 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3848, allocations: 51.41 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3849, allocations: 97.97 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3849, allocations: 33.7 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.3849, allocations: 92.02 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.385, allocations: 3.953 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.385, allocations: 13.72 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3852, allocations: 318.8 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3853, allocations: 27.97 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3855, allocations: 27.97 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.3857, allocations: 56.75 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3857, allocations: 3.938 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003124/0.386, allocations: 89.88 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.386, allocations: 8 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.386, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3861, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3862, allocations: 19.91 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3862, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.3863, allocations: 11.94 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3863, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 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 0.0001043/0.3864, allocations: 117.8 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.3864, allocations: 3.984 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.3865, allocations: 7.312 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3865, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3865, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3865, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3867, allocations: 136.7 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3867, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3868, allocations: 15.98 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3868, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3868, allocations: 3.984 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3868, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3868, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.3872, allocations: 187.4 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-06/0.3872, allocations: 3.984 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3872, allocations: 4.031 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3873, allocations: 11.98 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3873, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3874, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.3874, allocations: 79.28 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3874, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002508/0.3876, allocations: 27.88 kB / 1.287 GB, free: 7.363 MB / 0.9825 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.0007804/0.3884, allocations: 0.7279 MB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.3887, allocations: 59.88 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3887, allocations: 3.938 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3889, allocations: 36.05 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3892, allocations: 4 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.3898, allocations: 177.5 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.3899, allocations: 55.36 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.85e-05/0.3899, allocations: 12.06 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.39, allocations: 19.42 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.39, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.4211, allocations: 2.211 MB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 2.641 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.84377027116716]