Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001776/0.001776, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002018/0.002018, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.846/2.846, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.921e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002515/0.002544, allocations: 1.324 MB / 0.7877 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003622, allocations: 0.5688 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.00364, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.003654, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.003708, allocations: 13.36 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.004095, allocations: 87.56 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.004164, allocations: 29.23 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.004196, allocations: 7.938 kB / 0.7884 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.004257, allocations: 7.984 kB / 0.7884 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.004298, allocations: 7.062 kB / 0.7884 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.004311, allocations: 0 / 0.7884 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.004597, allocations: 139.7 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.00461, allocations: 3.984 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.004634, allocations: 8 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.00487, allocations: 103.7 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004873, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.31e-07/0.004874, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.004884, allocations: 4 kB / 0.7886 GB, free: 10.56 MB / 0.7448 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.0004674/0.005352, allocations: 369.3 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.00539, allocations: 16.02 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.005842, allocations: 34.55 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005957, allocations: 108.6 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.00597, allocations: 4.875 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.005984, allocations: 5.75 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.006129, allocations: 46.17 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006137, allocations: 192 / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.006149, allocations: 6.078 kB / 0.7892 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.006164, allocations: 4.375 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.006283, allocations: 23.92 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.006463, allocations: 114.2 kB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.006615, allocations: 51.08 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.00668, allocations: 21.45 kB / 0.7894 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.006704, allocations: 3.938 kB / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.006739, allocations: 37.39 kB / 0.7894 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.00674, allocations: 0 / 0.7894 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002966/0.007036, allocations: 67.92 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.007081, allocations: 51.41 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.007216, allocations: 169.8 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.007237, allocations: 26.23 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.007307, allocations: 130.9 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.00733, allocations: 4.672 kB / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.007383, allocations: 27.36 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003477/0.00773, allocations: 492.6 kB / 0.7904 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.007785, allocations: 9.594 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.007837, allocations: 19.92 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.007949, allocations: 29.08 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007951, allocations: 0 / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.008122, allocations: 54.88 kB / 0.7905 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.008139, allocations: 12.67 kB / 0.7905 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.008147, allocations: 4 kB / 0.7905 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.00816, allocations: 1.125 kB / 0.7905 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.008251, allocations: 4 kB / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.008256, allocations: 0 / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.008316, allocations: 12.61 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.008326, allocations: 4.609 kB / 0.7905 GB, free: 8.449 MB / 0.7448 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.0001112/0.008437, allocations: 157.4 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.008456, allocations: 8.188 kB / 0.7907 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.0085, allocations: 9.234 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008502, allocations: 0 / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008505, allocations: 0 / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.008512, allocations: 3.938 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.008636, allocations: 121.3 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008637, allocations: 0 / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.008709, allocations: 10.39 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.008711, allocations: 0 / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.00872, allocations: 0 / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008721, allocations: 0 / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008722, allocations: 0 / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.008933, allocations: 98.23 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.008987, allocations: 7.984 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.009005, allocations: 7.938 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.009058, allocations: 0 / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.009074, allocations: 4.438 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.009081, allocations: 0 / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.00915, allocations: 127.7 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00915, allocations: 0.5938 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002106/0.00936, allocations: 19.88 kB / 0.791 GB, free: 7.824 MB / 0.7448 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.0002088/0.009569, allocations: 113 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.009744, allocations: 32.33 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.009745, allocations: 4.844 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.009811, allocations: 27.33 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01001, allocations: 7.938 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.01037, allocations: 122.3 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.01043, allocations: 59.34 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.408e-05/0.0105, allocations: 8.5 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.01053, allocations: 9.75 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.01053, allocations: 0 / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.003826/0.01436, allocations: 0.8191 MB / 0.7922 GB, free: 6.602 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.82920377200935]