Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001315/0.001315, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001413/0.001413, allocations: 160.3 kB / 23.01 MB, free: 4.602 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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 2.877/2.877, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [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.002127/0.002127, allocations: 63.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8784, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002296/0.8807, allocations: 1.423 MB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.8816, allocations: 0.5589 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.8816, allocations: 0 / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.8817, allocations: 7.266 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/0.8817, allocations: 3.984 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.8821, allocations: 106.2 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.8821, allocations: 26.89 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.8822, allocations: 3.156 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.8823, allocations: 13.25 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.8823, allocations: 6.219 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.8823, allocations: 2.938 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.8826, allocations: 142.2 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.8826, allocations: 0 / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.8826, allocations: 14.09 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.8828, allocations: 108.3 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8828, allocations: 4 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8828, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.8828, allocations: 3.938 kB / 1.156 GB, free: 31.78 MB / 1.076 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.0003807/0.8832, allocations: 285.5 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.8832, allocations: 10.66 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.8837, allocations: 33.12 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.8837, allocations: 113.8 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8838, allocations: 3 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.8838, allocations: 384 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.884, allocations: 67.16 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.884, allocations: 2.812 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.884, allocations: 3.938 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.884, allocations: 3.938 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.8842, allocations: 53.98 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.8846, allocations: 210.3 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.8848, allocations: 54.72 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.8849, allocations: 33.23 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.885, allocations: 6.562 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.885, allocations: 37.97 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.885, allocations: 0 / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.000492/0.8855, allocations: 115.8 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.8855, allocations: 51.41 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.8855, allocations: 98.75 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.8856, allocations: 29.64 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.8856, allocations: 86.95 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.8856, allocations: 7.891 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.8856, allocations: 15.52 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.8857, allocations: 317.4 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.8858, allocations: 27.45 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.8859, allocations: 32.72 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.8862, allocations: 56.66 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8862, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000292/0.8865, allocations: 95.41 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8865, allocations: 9.047 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8865, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8865, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.8866, allocations: 11.17 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.8866, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.8867, allocations: 15.14 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.8867, allocations: 7.328 kB / 1.158 GB, free: 30.24 MB / 1.076 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 5.001e-05/0.8868, allocations: 109.2 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.8868, allocations: 3.938 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.8869, allocations: 9.906 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.8869, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.8869, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8869, allocations: 192 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.887, allocations: 115.6 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.887, allocations: 4 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.8871, allocations: 15.97 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.8871, allocations: 3.938 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.8871, allocations: 3.281 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8871, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8871, allocations: 4 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.8874, allocations: 178.8 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.8874, allocations: 18.19 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.8874, allocations: 0 / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.8875, allocations: 9.094 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.8876, allocations: 0 / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.8876, allocations: 0 / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.8876, allocations: 88.34 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8876, allocations: 0 / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002395/0.8878, allocations: 13.06 kB / 1.159 GB, free: 29.73 MB / 1.076 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.0001227/0.8879, allocations: 117.9 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.8882, allocations: 58.08 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8882, allocations: 0 / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.8884, allocations: 36.02 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.8886, allocations: 0 / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.889, allocations: 148.8 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.8891, allocations: 60.06 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.8891, allocations: 10.78 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.8892, allocations: 14.97 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.8892, allocations: 0 / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of Templates: time 0.002938/0.8921, allocations: 0.8125 MB / 1.16 GB, free: 29.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.637200058903545]