Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001171/0.001171, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.00274, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00104/0.00104, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002447, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.106, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.433/2.433, allocations: 447.1 MB / 0.675 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2434/2.676, allocations: 146 MB / 0.8176 GB, free: 3.789 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.485e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002901/0.002925, allocations: 1.517 MB / 0.8204 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006784/0.003604, allocations: 0.5997 MB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.003629, allocations: 0 / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.003653, allocations: 7.922 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.157e-05/0.003685, allocations: 11.92 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.003952, allocations: 87.52 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.004015, allocations: 27.86 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.004084, allocations: 0 / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.004152, allocations: 23.97 kB / 0.8211 GB, free: 176 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.004196, allocations: 15.92 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.004207, allocations: 0 / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.004427, allocations: 143.7 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.004441, allocations: 7.938 kB / 0.8213 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.004456, allocations: 4 kB / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004636, allocations: 99.67 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.004649, allocations: 0 / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.775e-06/0.004651, allocations: 3.984 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.004665, allocations: 0 / 0.8214 GB, free: 15.9 MB / 0.8073 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.00036/0.005025, allocations: 268.4 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.005054, allocations: 12.03 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.005343, allocations: 106 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.005432, allocations: 113.7 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.00544, allocations: 384 / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.005453, allocations: 4.375 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.005575, allocations: 66.91 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005582, allocations: 192 / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.00559, allocations: 8.375 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005596, allocations: 384 / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.005627, allocations: 15.92 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.005869, allocations: 152.2 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.005931, allocations: 38.59 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.005948, allocations: 12.92 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.005962, allocations: 4 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.005984, allocations: 30.56 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005985, allocations: 0 / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.006104, allocations: 53.61 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.006133, allocations: 55.34 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.006184, allocations: 102.7 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.006194, allocations: 25.7 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.00622, allocations: 84.14 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.006238, allocations: 7.953 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.006265, allocations: 25.77 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.006338, allocations: 314.8 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.006355, allocations: 7.984 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.006368, allocations: 4 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.0064, allocations: 16.84 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006402, allocations: 4 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.792e-05/0.00646, allocations: 45.62 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006473, allocations: 8.094 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006476, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.006487, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.006563, allocations: 15.92 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.006566, allocations: 0 / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.006594, allocations: 11.94 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.006599, allocations: 0 / 0.8229 GB, free: 14.14 MB / 0.8073 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.034e-05/0.006649, allocations: 105.8 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.006665, allocations: 4 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.006697, allocations: 15.3 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006699, allocations: 0 / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006702, allocations: 7.938 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006705, allocations: 0 / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.642e-05/0.006792, allocations: 65.91 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.006793, allocations: 3.984 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.006833, allocations: 11.98 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.00684, allocations: 3.984 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006842, allocations: 3.938 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.006848, allocations: 4 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006849, allocations: 0 / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.006855, allocations: 11.92 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.006959, allocations: 131.5 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.006969, allocations: 0 / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.00701, allocations: 8 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.007036, allocations: 3.984 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.007039, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.682e-05/0.007056, allocations: 12.8 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007056, allocations: 4.031 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001494/0.007206, allocations: 15.94 kB / 0.8233 GB, free: 13.69 MB / 0.8073 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.000145/0.007351, allocations: 96.28 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.143e-05/0.007422, allocations: 28.78 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.007427, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.007455, allocations: 16.84 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.007618, allocations: 53.8 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.008308, allocations: 122.8 kB / 0.8236 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.008353, allocations: 63.2 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.008407, allocations: 8 kB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.008473, allocations: 59.36 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of SimCode: time 9.62e-07/0.008474, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.002534/0.01101, allocations: 0.9683 MB / 0.8247 GB, free: 12.22 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.22059930395335]