Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001432/0.001432, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001564/0.001564, allocations: 215.8 kB / 22.24 MB, free: 5.242 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.263/3.263, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_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_12_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.002122/0.002122, allocations: 68.98 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3628, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003169/0.366, allocations: 1.657 MB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.5485, allocations: 131.5 MB / 1.456 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.5486, allocations: 0 / 1.456 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.5487, allocations: 23.8 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.549, allocations: 67.5 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.5496, allocations: 191.3 kB / 1.456 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.5499, allocations: 155.5 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.55, allocations: 21.3 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.5514, allocations: 208.3 kB / 1.456 GB, free: 11.6 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.5515, allocations: 59.75 kB / 1.456 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.5516, allocations: 8 kB / 1.456 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.5519, allocations: 159.7 kB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.5519, allocations: 31.89 kB / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.552, allocations: 39.8 kB / 1.456 GB, free: 11.31 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.5523, allocations: 219.2 kB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5524, allocations: 0 / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5524, allocations: 0 / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5524, allocations: 0 / 1.457 GB, free: 11.09 MB / 1.154 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.0009632/0.5533, allocations: 397.5 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5534, allocations: 8.031 kB / 1.457 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.5542, allocations: 80.77 kB / 1.457 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.5544, allocations: 149 kB / 1.457 GB, free: 10.42 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5544, allocations: 8 kB / 1.457 GB, free: 10.41 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.5545, allocations: 8 kB / 1.457 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.5549, allocations: 183.8 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.555, allocations: 3.938 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.555, allocations: 7.938 kB / 1.458 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.555, allocations: 4 kB / 1.458 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.5555, allocations: 150.6 kB / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.5566, allocations: 0.696 MB / 1.458 GB, free: 9.301 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.5571, allocations: 126.5 kB / 1.458 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.5574, allocations: 76.8 kB / 1.459 GB, free: 9.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.5574, allocations: 0 / 1.459 GB, free: 9.09 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5574, allocations: 34.56 kB / 1.459 GB, free: 9.047 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.5574, allocations: 4 kB / 1.459 GB, free: 9.043 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.001969/0.5594, allocations: 382.2 kB / 1.459 GB, free: 8.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.5595, allocations: 55.41 kB / 1.459 GB, free: 8.594 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.5596, allocations: 151.3 kB / 1.459 GB, free: 8.438 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.5597, allocations: 25.7 kB / 1.459 GB, free: 8.406 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5598, allocations: 115.9 kB / 1.459 GB, free: 8.289 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.5598, allocations: 31.75 kB / 1.459 GB, free: 8.258 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.291e-05/0.5599, allocations: 33.69 kB / 1.459 GB, free: 8.219 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.5602, allocations: 318.8 kB / 1.46 GB, free: 7.898 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.5604, allocations: 71.92 kB / 1.46 GB, free: 7.828 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.5607, allocations: 100.2 kB / 1.46 GB, free: 7.715 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.5612, allocations: 180.1 kB / 1.46 GB, free: 7.523 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5612, allocations: 0 / 1.46 GB, free: 7.523 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001088/0.5623, allocations: 282.4 kB / 1.46 GB, free: 7.238 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5623, allocations: 14.22 kB / 1.46 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5623, allocations: 4.078 kB / 1.46 GB, free: 7.223 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.563, allocations: 84.89 kB / 1.46 GB, free: 7.137 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.5632, allocations: 31.95 kB / 1.46 GB, free: 7.105 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.5657, allocations: 1.543 MB / 1.462 GB, free: 5.449 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.566, allocations: 16.05 kB / 1.462 GB, free: 5.434 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.566, allocations: 7.984 kB / 1.462 GB, free: 5.426 MB / 1.154 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.0002206/0.5662, allocations: 130.2 kB / 1.462 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.5662, allocations: 11.91 kB / 1.462 GB, free: 5.277 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.5674, allocations: 313.7 kB / 1.462 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5674, allocations: 7.938 kB / 1.462 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.5674, allocations: 0 / 1.462 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5674, allocations: 0 / 1.462 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.5676, allocations: 153.3 kB / 1.462 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5676, allocations: 0 / 1.462 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.5678, allocations: 35.89 kB / 1.463 GB, free: 4.746 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.5683, allocations: 76.78 kB / 1.463 GB, free: 4.668 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.5683, allocations: 7.984 kB / 1.463 GB, free: 4.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.5704, allocations: 1.559 MB / 1.464 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5704, allocations: 3.984 kB / 1.464 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5715, allocations: 372.3 kB / 1.464 GB, free: 2.605 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5716, allocations: 35.86 kB / 1.465 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.5717, allocations: 0 / 1.465 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.5719, allocations: 15.97 kB / 1.465 GB, free: 2.555 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.5719, allocations: 15.98 kB / 1.465 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.572, allocations: 3.984 kB / 1.465 GB, free: 2.535 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.294e-05/0.572, allocations: 108.7 kB / 1.465 GB, free: 2.43 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.572, allocations: 0 / 1.465 GB, free: 2.43 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000342/0.5724, allocations: 47.94 kB / 1.465 GB, free: 2.383 MB / 1.154 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.0002738/0.5727, allocations: 119.1 kB / 1.465 GB, free: 2.258 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.5737, allocations: 310.6 kB / 1.465 GB, free: 1.941 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5737, allocations: 0 / 1.465 GB, free: 1.941 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.5743, allocations: 226.5 kB / 1.465 GB, free: 1.707 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.5746, allocations: 19.98 kB / 1.465 GB, free: 1.688 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.5755, allocations: 323.4 kB / 1.466 GB, free: 1.348 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.934e-05/0.5756, allocations: 89.62 kB / 1.466 GB, free: 1.234 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.5757, allocations: 20.48 kB / 1.466 GB, free: 1.215 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.5758, allocations: 19.42 kB / 1.466 GB, free: 1.195 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/0.5758, allocations: 4 kB / 1.466 GB, free: 1.191 MB / 1.154 GB Notification: Performance of Templates: time 0.00833/0.5841, allocations: 3.264 MB / 1.469 GB, free: 13.96 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.446447780355811]