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.00135/0.00135, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001562/0.001562, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.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.866/2.866, allocations: 476.7 MB / 0.7706 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] 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.002104/0.002104, allocations: 73.44 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 170 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003034/0.3556, allocations: 1.716 MB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1959/0.5516, allocations: 153 MB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.5517, allocations: 0 / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.5519, allocations: 23.8 kB / 1.435 GB, free: 15.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.5523, allocations: 51.58 kB / 1.435 GB, free: 15.83 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.5529, allocations: 195.3 kB / 1.435 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.5532, allocations: 163.5 kB / 1.435 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.5533, allocations: 25.28 kB / 1.435 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.5548, allocations: 191.9 kB / 1.436 GB, free: 15.29 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.555, allocations: 67.73 kB / 1.436 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.555, allocations: 11.94 kB / 1.436 GB, free: 15.21 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.5554, allocations: 175.7 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.5554, allocations: 27.89 kB / 1.436 GB, free: 15.02 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.5555, allocations: 55.72 kB / 1.436 GB, free: 14.96 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.5559, allocations: 211.3 kB / 1.436 GB, free: 14.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5559, allocations: 0 / 1.436 GB, free: 14.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5559, allocations: 3.938 kB / 1.436 GB, free: 14.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.556, allocations: 0 / 1.436 GB, free: 14.75 MB / 1.139 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.0008901/0.5568, allocations: 397.4 kB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5569, allocations: 8.031 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/0.5578, allocations: 88.75 kB / 1.437 GB, free: 14.24 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.558, allocations: 142.9 kB / 1.437 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5581, allocations: 8 kB / 1.437 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.5581, allocations: 8 kB / 1.437 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.5586, allocations: 183.3 kB / 1.437 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5586, allocations: 8 kB / 1.437 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.5586, allocations: 4 kB / 1.437 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5586, allocations: 4 kB / 1.437 GB, free: 13.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.5591, allocations: 143.8 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.5604, allocations: 0.7962 MB / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.5608, allocations: 126.4 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.5611, allocations: 76.8 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.5611, allocations: 0 / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5612, allocations: 30.56 kB / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.5612, allocations: 0 / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.002045/0.5632, allocations: 398.1 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5633, allocations: 55.41 kB / 1.438 GB, free: 12.12 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.5634, allocations: 160.5 kB / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5635, allocations: 25.7 kB / 1.439 GB, free: 11.92 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.5635, allocations: 104.3 kB / 1.439 GB, free: 11.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.5636, allocations: 27.75 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.5636, allocations: 37.69 kB / 1.439 GB, free: 11.75 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5638, allocations: 318.8 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.564, allocations: 71.94 kB / 1.439 GB, free: 11.36 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.5643, allocations: 104.2 kB / 1.439 GB, free: 11.24 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.5648, allocations: 180.1 kB / 1.439 GB, free: 11.05 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5648, allocations: 0 / 1.439 GB, free: 11.05 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001121/0.5659, allocations: 278.1 kB / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.566, allocations: 11.94 kB / 1.44 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.566, allocations: 0 / 1.44 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/0.5666, allocations: 84.89 kB / 1.44 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.5669, allocations: 39.89 kB / 1.44 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.5692, allocations: 1.55 MB / 1.441 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.5694, allocations: 32.02 kB / 1.441 GB, free: 8.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5694, allocations: 4 kB / 1.441 GB, free: 8.93 MB / 1.139 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.0001263/0.5695, allocations: 129.7 kB / 1.442 GB, free: 8.793 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.5696, allocations: 15.89 kB / 1.442 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5707, allocations: 310.9 kB / 1.442 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5707, allocations: 0 / 1.442 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5707, allocations: 4 kB / 1.442 GB, free: 8.461 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.5707, allocations: 3.984 kB / 1.442 GB, free: 8.457 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.571, allocations: 224.5 kB / 1.442 GB, free: 8.195 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.571, allocations: 3.984 kB / 1.442 GB, free: 8.191 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.5712, allocations: 31.97 kB / 1.442 GB, free: 8.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.5717, allocations: 68.78 kB / 1.442 GB, free: 8.09 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.5717, allocations: 11.92 kB / 1.442 GB, free: 8.078 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.5738, allocations: 1.574 MB / 1.444 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5738, allocations: 0 / 1.444 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5749, allocations: 384.1 kB / 1.444 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.575, allocations: 27.92 kB / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.575, allocations: 0 / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5752, allocations: 19.86 kB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.5753, allocations: 23.91 kB / 1.444 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5753, allocations: 0 / 1.444 GB, free: 5.914 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.689e-05/0.5754, allocations: 117.9 kB / 1.444 GB, free: 5.801 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5754, allocations: 4 kB / 1.444 GB, free: 5.797 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003555/0.5757, allocations: 43.94 kB / 1.444 GB, free: 5.754 MB / 1.139 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.0002081/0.5759, allocations: 111.2 kB / 1.444 GB, free: 5.637 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.5769, allocations: 306.7 kB / 1.445 GB, free: 5.324 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5769, allocations: 0 / 1.445 GB, free: 5.324 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.5775, allocations: 226.5 kB / 1.445 GB, free: 5.09 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.5779, allocations: 34.39 kB / 1.445 GB, free: 5.059 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.5788, allocations: 305.7 kB / 1.445 GB, free: 4.738 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.5791, allocations: 0.7124 MB / 1.446 GB, free: 4 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.5793, allocations: 20.92 kB / 1.446 GB, free: 3.977 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.5793, allocations: 27.36 kB / 1.446 GB, free: 3.949 MB / 1.139 GB Notification: Performance of SimCode: time 3.9e-07/0.5793, allocations: 0 / 1.446 GB, free: 3.949 MB / 1.139 GB Notification: Performance of Templates: time 0.007964/0.5873, allocations: 3.367 MB / 1.449 GB, free: 0.6133 MB / 1.139 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 -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/jenkins/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: 9.41797504806891]