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.001482/0.001482, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.001675/0.001675, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.447/1.447, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.707/2.707, allocations: 359 MB / 0.6048 GB, free: 10.93 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.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.648e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002624/0.002651, allocations: 1.314 MB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003764, allocations: 0.5369 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.003784, allocations: 4.562 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.003804, allocations: 1.406 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.003856, allocations: 7.984 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.0044, allocations: 96.5 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.004465, allocations: 19.81 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.0045, allocations: 4 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.004556, allocations: 13.23 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.004599, allocations: 4 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.004614, allocations: 0 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.004943, allocations: 149.1 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.004955, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.00498, allocations: 4 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.005227, allocations: 99.77 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005229, allocations: 1.094 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00523, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.005234, allocations: 3.938 kB / 0.7886 GB, free: 10.57 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.0004441/0.005678, allocations: 279.1 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.005721, allocations: 8.031 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.006228, allocations: 35.61 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.006351, allocations: 109.7 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.006365, allocations: 4.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006377, allocations: 384 / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.006561, allocations: 47.58 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.006569, allocations: 192 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.00658, allocations: 384 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.006585, allocations: 3.281 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.006729, allocations: 27.91 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.0069, allocations: 105.3 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.007076, allocations: 47.23 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.007156, allocations: 18.56 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.007182, allocations: 4 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.007218, allocations: 30.56 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.007219, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.007588, allocations: 75.34 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.007636, allocations: 52.59 kB / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.007745, allocations: 105.8 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.007769, allocations: 25.7 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.00782, allocations: 81.89 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.00785, allocations: 11.94 kB / 0.7896 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.007895, allocations: 13.7 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.008069, allocations: 318.8 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.008139, allocations: 8.828 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.008202, allocations: 12.53 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.008348, allocations: 34.02 kB / 0.79 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00835, allocations: 1.312 kB / 0.79 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.008559, allocations: 66.14 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.008578, allocations: 7.094 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008582, allocations: 0 / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.008601, allocations: 0 / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.008718, allocations: 13.14 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.008723, allocations: 0 / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.008793, allocations: 7.891 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.008804, allocations: 5.188 kB / 0.7901 GB, free: 8.887 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 9.648e-05/0.0089, allocations: 109.8 kB / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.008917, allocations: 0.8125 kB / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.008958, allocations: 12.25 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00896, allocations: 0 / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.008964, allocations: 1.344 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008969, allocations: 3.938 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.009081, allocations: 101.3 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009082, allocations: 0 / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.009167, allocations: 8.844 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.009172, allocations: 7.984 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.00918, allocations: 2 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.009186, allocations: 4 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/0.009195, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.009433, allocations: 85.7 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.009476, allocations: 15.42 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.00949, allocations: 0 / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.009556, allocations: 0 / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.009576, allocations: 7.984 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.009582, allocations: 0 / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.009632, allocations: 75.28 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009632, allocations: 4 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002167/0.009849, allocations: 15.88 kB / 0.7905 GB, free: 8.391 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.0001911/0.01004, allocations: 111.8 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.01025, allocations: 38.06 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01025, allocations: 3.938 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.01032, allocations: 13.33 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01054, allocations: 11.98 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.01094, allocations: 106.5 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.01101, allocations: 59.34 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.357e-05/0.01107, allocations: 10 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.01112, allocations: 16.48 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01112, allocations: 0 / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.003571/0.01469, allocations: 0.8092 MB / 0.7916 GB, free: 7.207 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] 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.455294813960791]