Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001802/0.001802, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.002221/0.002221, allocations: 166.1 kB / 22.46 MB, free: 5.355 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.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.864/2.864, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.002e-05, allocations: 6.281 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002465/0.002495, allocations: 1.307 MB / 1.001 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003711, allocations: 0.5334 MB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.003736, allocations: 0 / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.003758, allocations: 7.922 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.003802, allocations: 7.922 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.004234, allocations: 91.52 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.894e-05/0.004313, allocations: 27.8 kB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.004356, allocations: 4 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.004409, allocations: 7.984 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.004453, allocations: 7.984 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.004466, allocations: 0 / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.004769, allocations: 139.7 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.004784, allocations: 4 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.004805, allocations: 4 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.00504, allocations: 107.7 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.005045, allocations: 4 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005045, allocations: 4 kB / 1.002 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.005053, allocations: 0 / 1.002 GB, free: 5.066 MB / 0.9512 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.0004211/0.005474, allocations: 270.1 kB / 1.003 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.005524, allocations: 12.03 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.005989, allocations: 28.89 kB / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.00611, allocations: 105.8 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.006119, allocations: 384 / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.006135, allocations: 8.312 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.006301, allocations: 54.16 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.00631, allocations: 192 / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006321, allocations: 384 / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.006324, allocations: 384 / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.006463, allocations: 23.92 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.006619, allocations: 109.3 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.006783, allocations: 42.55 kB / 1.003 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.00686, allocations: 24.84 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.006875, allocations: 0 / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.006911, allocations: 30.56 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006912, allocations: 0 / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003369/0.007249, allocations: 73.66 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.00729, allocations: 51.41 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.007399, allocations: 105.8 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.007421, allocations: 29.64 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.007462, allocations: 84.14 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.007487, allocations: 7.891 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.007532, allocations: 17.7 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.007689, allocations: 314.8 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.007766, allocations: 16.05 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.007827, allocations: 15.98 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.007963, allocations: 24.84 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007964, allocations: 4 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.008156, allocations: 65.69 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.00817, allocations: 4 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.008174, allocations: 0 / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.008193, allocations: 7.984 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.00829, allocations: 4 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.008297, allocations: 4 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.008361, allocations: 7.922 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.008371, allocations: 4 kB / 1.004 GB, free: 3.371 MB / 0.9512 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.612e-05/0.008457, allocations: 110.3 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.00847, allocations: 4.031 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.008511, allocations: 7.312 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008513, allocations: 0 / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.008516, allocations: 0 / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008521, allocations: 3.938 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.008628, allocations: 105.3 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008629, allocations: 0 / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.008705, allocations: 11.92 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.008707, allocations: 4 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.008715, allocations: 4 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008717, allocations: 0 / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008718, allocations: 0 / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.008932, allocations: 89.03 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.008967, allocations: 0 / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.008984, allocations: 7.984 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.009047, allocations: 4 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.009062, allocations: 3.969 kB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.00907, allocations: 11.94 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.009122, allocations: 79.27 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009122, allocations: 0 / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002397/0.009361, allocations: 15.94 kB / 1.004 GB, free: 2.855 MB / 0.9512 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.0001814/0.009543, allocations: 107.2 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.009745, allocations: 31.97 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.009747, allocations: 4.062 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.009818, allocations: 15.98 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01004, allocations: 10.48 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01041, allocations: 112.9 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.01046, allocations: 55.36 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.01052, allocations: 19.95 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.01056, allocations: 12.48 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.01056, allocations: 0 / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of Templates: time 0.003396/0.01396, allocations: 0.7895 MB / 1.005 GB, free: 1.672 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.918967686593533]