Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001056/0.001056, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002737, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009923/0.0009923, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002437, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9769/0.9769, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09114/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5028/2.391, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.136e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001885/0.001906, allocations: 1.389 MB / 0.731 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006205/0.002527, allocations: 0.5791 MB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.002543, allocations: 0 / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.186e-06/0.002551, allocations: 4.594 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.596e-05/0.002577, allocations: 8.25 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.002794, allocations: 89.8 kB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.002864, allocations: 31.7 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.0029, allocations: 0 / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.002969, allocations: 12.48 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.003023, allocations: 8.516 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.003036, allocations: 1.5 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.003301, allocations: 147.7 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003313, allocations: 0 / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.003327, allocations: 7.938 kB / 0.7319 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.003475, allocations: 88.84 kB / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.003488, allocations: 0 / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003488, allocations: 0 / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.0035, allocations: 0.5 kB / 0.732 GB, free: 2.102 MB / 0.698 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.0003332/0.003833, allocations: 262 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.003875, allocations: 8.031 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.004167, allocations: 118.6 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/0.004243, allocations: 105.8 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.004252, allocations: 5.688 kB / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.004263, allocations: 384 / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.004365, allocations: 64.5 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.004371, allocations: 192 / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.004379, allocations: 384 / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.004383, allocations: 384 / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.00441, allocations: 17.27 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.951e-05/0.004499, allocations: 61.03 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.00455, allocations: 35.19 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.004565, allocations: 10.05 kB / 0.7326 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.004579, allocations: 0 / 0.7326 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.004598, allocations: 34.55 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.004599, allocations: 0.9375 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.905e-05/0.004698, allocations: 54.41 kB / 0.7327 GB, free: 1.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.004723, allocations: 51.41 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.882e-05/0.004772, allocations: 103.3 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.004782, allocations: 26.61 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.004802, allocations: 84.14 kB / 0.733 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.004826, allocations: 3.953 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.004851, allocations: 22.47 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.004917, allocations: 314.8 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.00493, allocations: 9.391 kB / 0.7333 GB, free: 0.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.00494, allocations: 4 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.00497, allocations: 18.91 kB / 0.7333 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004972, allocations: 0 / 0.7333 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.594e-05/0.005018, allocations: 49.62 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.005027, allocations: 5.344 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.005031, allocations: 0 / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.005041, allocations: 0 / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.005114, allocations: 11.98 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.005117, allocations: 1.25 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.005136, allocations: 4 kB / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.005141, allocations: 3.984 kB / 0.7334 GB, free: 492 kB / 0.698 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.0001238/0.005265, allocations: 119 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.005271, allocations: 0 / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.005297, allocations: 4.219 kB / 0.7335 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005299, allocations: 4.531 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.0053, allocations: 1.094 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005303, allocations: 3.938 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.719e-05/0.00536, allocations: 73.77 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005361, allocations: 0.8438 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.005393, allocations: 11.98 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.005415, allocations: 9.203 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.005417, allocations: 0 / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.005423, allocations: 3.984 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005423, allocations: 0.625 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005424, allocations: 0 / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.215e-05/0.005486, allocations: 73.75 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.005496, allocations: 0.75 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.005513, allocations: 0 / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-06/0.005522, allocations: 5.906 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.005526, allocations: 3.984 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of sorting global known variables: time 8.646e-06/0.005534, allocations: 4.859 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005535, allocations: 0 / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001041/0.005639, allocations: 16 kB / 0.7337 GB, free: 108 kB / 0.698 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.0001063/0.005745, allocations: 93.62 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.005816, allocations: 23.28 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.00582, allocations: 0 / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.005837, allocations: 16.8 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.005953, allocations: 74.23 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.006844, allocations: 132.6 kB / 0.734 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.466e-05/0.006868, allocations: 55.34 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.006909, allocations: 13.16 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.006961, allocations: 59.36 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.006962, allocations: 3.031 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.002106/0.009068, allocations: 0.8609 MB / 0.735 GB, free: 14.76 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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: 4.884777406230569]