Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0007809/0.0007809, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001838, 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.0007289/0.0007289, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009537/0.001683, 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.9925/0.9925, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09387/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.839/1.839, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.483/2.322, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.183e-05, allocations: 3.219 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002197/0.002219, allocations: 1.762 MB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.002688, allocations: 419.7 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.002745, allocations: 0 / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.744e-05/0.002802, allocations: 13.39 kB / 0.7318 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.002842, allocations: 21.33 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.003118, allocations: 116.7 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.00325, allocations: 118.9 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.003348, allocations: 28.53 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.003447, allocations: 64.88 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.003504, allocations: 27.91 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.003521, allocations: 8 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.003637, allocations: 72.58 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.00366, allocations: 16.72 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.003686, allocations: 23.94 kB / 0.7323 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.003854, allocations: 107.5 kB / 0.7324 GB, free: 1.703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.003866, allocations: 0.625 kB / 0.7324 GB, free: 1.703 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003867, allocations: 0.8125 kB / 0.7324 GB, free: 1.703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.003876, allocations: 0 / 0.7324 GB, free: 1.703 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004049/0.004281, allocations: 333 kB / 0.7327 GB, free: 1.352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.004312, allocations: 8.031 kB / 0.7327 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.004519, allocations: 127.1 kB / 0.7328 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.004665, allocations: 131.3 kB / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.004713, allocations: 63.95 kB / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004727, allocations: 4.375 kB / 0.733 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.004864, allocations: 118 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.00487, allocations: 1 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004879, allocations: 384 / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004885, allocations: 8.625 kB / 0.7331 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.004934, allocations: 25.67 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.005281, allocations: 232 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.005552, allocations: 108.6 kB / 0.7335 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.005579, allocations: 22.61 kB / 0.7335 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.005588, allocations: 0 / 0.7335 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005608, allocations: 34.5 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.005609, allocations: 0 / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001152/0.005724, allocations: 65.81 kB / 0.7336 GB, free: 328 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.005749, allocations: 60.61 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.005806, allocations: 118.7 kB / 0.7338 GB, free: 124 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.00582, allocations: 25.7 kB / 0.7338 GB, free: 92 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.005874, allocations: 108.7 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.005894, allocations: 23.78 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.005924, allocations: 26.83 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.005996, allocations: 322.8 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.006013, allocations: 8 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.006035, allocations: 22.12 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.006077, allocations: 34.72 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.006081, allocations: 7.938 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.942e-05/0.00615, allocations: 58.14 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006163, allocations: 12.25 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006167, allocations: 0 / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.006177, allocations: 0 / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.006245, allocations: 19.98 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006247, allocations: 0.5 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.006275, allocations: 13.22 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.006279, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.813e-05/0.006337, allocations: 117.7 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.006357, allocations: 12.92 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.006384, allocations: 8.438 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.006387, allocations: 5.125 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006389, allocations: 0 / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006393, allocations: 3.984 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.006504, allocations: 90.58 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006506, allocations: 0 / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.006547, allocations: 16.73 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.006556, allocations: 15.88 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006558, allocations: 0.6562 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.006562, allocations: 0 / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006564, allocations: 1.531 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006565, allocations: 0 / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.006665, allocations: 159.4 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.006677, allocations: 4 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.00674, allocations: 9.234 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.006776, allocations: 4 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.006784, allocations: 3.984 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.715e-05/0.006811, allocations: 29.34 kB / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006811, allocations: 0 / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000125/0.006936, allocations: 19.95 kB / 0.7349 GB, free: 14.89 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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 8.525e-05/0.007021, allocations: 81.66 kB / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.173e-05/0.007093, allocations: 37.42 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.007099, allocations: 2.938 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.007131, allocations: 29.02 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.007346, allocations: 99.52 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.008126, allocations: 215.6 kB / 0.7353 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.008162, allocations: 59.34 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.008207, allocations: 18.23 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.008307, allocations: 75.33 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/0.008308, allocations: 3.938 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.003192/0.0115, allocations: 1.504 MB / 0.7369 GB, free: 12.78 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.885421712882817]