Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001633/0.001633, allocations: 79.58 kB / 19.76 MB, free: 2.031 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.001757/0.001757, allocations: 158.7 kB / 23.01 MB, free: 4.949 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [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.002251/0.002251, allocations: 63.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2964, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003033/0.2995, allocations: 1.657 MB / 1.119 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.6584/0.9579, allocations: 131.5 MB / 1.247 GB, free: 6.332 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.958, allocations: 1.156 kB / 1.247 GB, free: 6.332 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.9581, allocations: 22.59 kB / 1.248 GB, free: 6.316 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.9584, allocations: 58.2 kB / 1.248 GB, free: 6.277 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.9589, allocations: 193.9 kB / 1.248 GB, free: 6.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.9591, allocations: 162.4 kB / 1.248 GB, free: 6.105 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.9592, allocations: 21.11 kB / 1.248 GB, free: 6.098 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.9606, allocations: 196.9 kB / 1.248 GB, free: 6.047 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.9607, allocations: 58.56 kB / 1.248 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.9607, allocations: 13.38 kB / 1.248 GB, free: 6.02 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.961, allocations: 161.9 kB / 1.248 GB, free: 5.984 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.9611, allocations: 29.09 kB / 1.248 GB, free: 5.965 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.9612, allocations: 44.97 kB / 1.248 GB, free: 5.941 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.9615, allocations: 206.6 kB / 1.249 GB, free: 5.879 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9615, allocations: 0 / 1.249 GB, free: 5.879 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9615, allocations: 0 / 1.249 GB, free: 5.879 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.9615, allocations: 1.406 kB / 1.249 GB, free: 5.879 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008603/0.9624, allocations: 407.7 kB / 1.249 GB, free: 5.543 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.9624, allocations: 8.594 kB / 1.249 GB, free: 5.543 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.9633, allocations: 81.22 kB / 1.249 GB, free: 5.531 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.9636, allocations: 146.8 kB / 1.249 GB, free: 5.383 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.9636, allocations: 9.938 kB / 1.249 GB, free: 5.379 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.9636, allocations: 6.203 kB / 1.249 GB, free: 5.379 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.9641, allocations: 181.9 kB / 1.249 GB, free: 5.273 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.9641, allocations: 4.844 kB / 1.249 GB, free: 5.27 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.9641, allocations: 5.609 kB / 1.249 GB, free: 5.266 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.9641, allocations: 2.406 kB / 1.249 GB, free: 5.266 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.9646, allocations: 147.5 kB / 1.25 GB, free: 5.227 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.9658, allocations: 0.6934 MB / 1.25 GB, free: 4.621 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.9662, allocations: 127 kB / 1.25 GB, free: 4.566 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.9665, allocations: 78.53 kB / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.9665, allocations: 1.25 kB / 1.25 GB, free: 4.539 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.9665, allocations: 33.64 kB / 1.25 GB, free: 4.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.9665, allocations: 0 / 1.25 GB, free: 4.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.002/0.9685, allocations: 387.3 kB / 1.251 GB, free: 4.383 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.9686, allocations: 53.72 kB / 1.251 GB, free: 4.32 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.9687, allocations: 148.7 kB / 1.251 GB, free: 4.203 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9687, allocations: 31.52 kB / 1.251 GB, free: 4.168 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.9688, allocations: 110.9 kB / 1.251 GB, free: 4.062 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.9688, allocations: 31.48 kB / 1.251 GB, free: 4.039 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.9689, allocations: 32.14 kB / 1.251 GB, free: 4.016 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.969, allocations: 319.4 kB / 1.252 GB, free: 3.699 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.9693, allocations: 69.59 kB / 1.252 GB, free: 3.684 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.9696, allocations: 108.1 kB / 1.252 GB, free: 3.621 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.9701, allocations: 175.2 kB / 1.252 GB, free: 3.539 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9701, allocations: 4 kB / 1.252 GB, free: 3.535 MB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001117/0.9712, allocations: 275.6 kB / 1.252 GB, free: 3.438 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9713, allocations: 9.438 kB / 1.252 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.9713, allocations: 5.312 kB / 1.252 GB, free: 3.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.9719, allocations: 86.7 kB / 1.252 GB, free: 3.414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.9721, allocations: 35.22 kB / 1.252 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.9743, allocations: 1.536 MB / 1.254 GB, free: 2.059 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.9745, allocations: 29.23 kB / 1.254 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.9745, allocations: 5.344 kB / 1.254 GB, free: 2.047 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.9746, allocations: 120 kB / 1.254 GB, free: 1.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.9747, allocations: 9.516 kB / 1.254 GB, free: 1.922 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.9758, allocations: 314.2 kB / 1.254 GB, free: 1.805 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9758, allocations: 6.5 kB / 1.254 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.9758, allocations: 0 / 1.254 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9758, allocations: 0.7031 kB / 1.254 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.9761, allocations: 170.5 kB / 1.254 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9761, allocations: 0.5156 kB / 1.254 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.9763, allocations: 34 kB / 1.254 GB, free: 1.645 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.9767, allocations: 76.92 kB / 1.255 GB, free: 1.625 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.9768, allocations: 7.125 kB / 1.255 GB, free: 1.625 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.9787, allocations: 1.566 MB / 1.256 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9787, allocations: 4.062 kB / 1.256 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.9798, allocations: 370.1 kB / 1.256 GB, free: 36 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.9799, allocations: 28.91 kB / 1.256 GB, free: 20 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.9799, allocations: 6.266 kB / 1.256 GB, free: 16 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.9801, allocations: 14.17 kB / 1.256 GB, free: 16 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.9802, allocations: 15.94 kB / 1.256 GB, free: 12 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.9802, allocations: 4.266 kB / 1.256 GB, free: 12 kB / 1.107 GB Notification: Performance of sorting global known variables: time 9.973e-05/0.9803, allocations: 109.5 kB / 1.257 GB, free: 15.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.9803, allocations: 0 / 1.257 GB, free: 15.93 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004672/0.9808, allocations: 49.53 kB / 1.257 GB, free: 15.91 MB / 1.123 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.9809, allocations: 113.6 kB / 1.257 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009452/0.9819, allocations: 299.7 kB / 1.257 GB, free: 15.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9819, allocations: 1.031 kB / 1.257 GB, free: 15.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.9824, allocations: 231.4 kB / 1.257 GB, free: 15.52 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.9828, allocations: 23.42 kB / 1.257 GB, free: 15.51 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.9836, allocations: 316.1 kB / 1.258 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.9837, allocations: 93.47 kB / 1.258 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.9838, allocations: 32.89 kB / 1.258 GB, free: 15.23 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.9839, allocations: 30.89 kB / 1.258 GB, free: 15.21 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/0.9839, allocations: 0 / 1.258 GB, free: 15.21 MB / 1.123 GB Notification: Performance of Templates: time 0.007304/0.9912, allocations: 3.162 MB / 1.261 GB, free: 14.91 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.61551357805729]