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.001579/0.001579, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001487/0.001487, allocations: 209.8 kB / 22.99 MB, free: 4.984 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.252/3.252, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002063/0.002063, allocations: 69.08 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.377, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003181/0.3802, allocations: 1.661 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.555, allocations: 131.5 MB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.5551, allocations: 0 / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.5553, allocations: 31.73 kB / 1.457 GB, free: 11.26 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.5556, allocations: 55.62 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.5561, allocations: 187.3 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.5564, allocations: 163.5 kB / 1.458 GB, free: 10.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.5565, allocations: 25.3 kB / 1.458 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.558, allocations: 205 kB / 1.458 GB, free: 10.67 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.5581, allocations: 71.73 kB / 1.458 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.5581, allocations: 8 kB / 1.458 GB, free: 10.59 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.5585, allocations: 163.7 kB / 1.458 GB, free: 10.43 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.5586, allocations: 31.89 kB / 1.458 GB, free: 10.4 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.5587, allocations: 43.8 kB / 1.458 GB, free: 10.36 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.559, allocations: 199.3 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.559, allocations: 3.938 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.242e-06/0.559, allocations: 4 kB / 1.458 GB, free: 10.15 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.559, allocations: 4 kB / 1.458 GB, free: 10.15 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.0009227/0.5599, allocations: 397.5 kB / 1.459 GB, free: 9.73 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.56, allocations: 8.031 kB / 1.459 GB, free: 9.723 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.5609, allocations: 80.7 kB / 1.459 GB, free: 9.645 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.5612, allocations: 148.9 kB / 1.459 GB, free: 9.473 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5612, allocations: 8 kB / 1.459 GB, free: 9.465 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.5612, allocations: 12 kB / 1.459 GB, free: 9.453 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.5617, allocations: 191.4 kB / 1.459 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5617, allocations: 0 / 1.459 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5617, allocations: 0 / 1.459 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.5617, allocations: 4 kB / 1.459 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.5622, allocations: 147.8 kB / 1.459 GB, free: 9.098 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.5635, allocations: 0.696 MB / 1.46 GB, free: 8.355 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.564, allocations: 122.5 kB / 1.46 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.5642, allocations: 80.8 kB / 1.46 GB, free: 8.145 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.5642, allocations: 3.938 kB / 1.46 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5643, allocations: 34.56 kB / 1.46 GB, free: 8.098 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.5643, allocations: 0 / 1.46 GB, free: 8.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.002117/0.5664, allocations: 378.1 kB / 1.46 GB, free: 7.719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5664, allocations: 55.34 kB / 1.461 GB, free: 7.652 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5666, allocations: 148.1 kB / 1.461 GB, free: 7.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5666, allocations: 25.7 kB / 1.461 GB, free: 7.469 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.5667, allocations: 120 kB / 1.461 GB, free: 7.348 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.5667, allocations: 31.73 kB / 1.461 GB, free: 7.316 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.5668, allocations: 33.7 kB / 1.461 GB, free: 7.277 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.567, allocations: 322.8 kB / 1.461 GB, free: 6.953 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.5672, allocations: 63.94 kB / 1.461 GB, free: 6.891 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5675, allocations: 108.2 kB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.568, allocations: 176.1 kB / 1.462 GB, free: 6.582 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.568, allocations: 4 kB / 1.462 GB, free: 6.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001128/0.5692, allocations: 282.1 kB / 1.462 GB, free: 6.293 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5692, allocations: 7.938 kB / 1.462 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5692, allocations: 0 / 1.462 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006957/0.5699, allocations: 88.89 kB / 1.462 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.5701, allocations: 35.89 kB / 1.462 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.5726, allocations: 1.527 MB / 1.463 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.5728, allocations: 16.08 kB / 1.463 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.5729, allocations: 15.98 kB / 1.463 GB, free: 4.488 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.0001638/0.573, allocations: 130.2 kB / 1.464 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.5731, allocations: 7.953 kB / 1.464 GB, free: 4.344 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.5742, allocations: 311.1 kB / 1.464 GB, free: 4.035 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5742, allocations: 3.938 kB / 1.464 GB, free: 4.031 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5742, allocations: 3.984 kB / 1.464 GB, free: 4.027 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.5742, allocations: 4 kB / 1.464 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.5745, allocations: 165.2 kB / 1.464 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5745, allocations: 0 / 1.464 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.5747, allocations: 27.97 kB / 1.464 GB, free: 3.805 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/0.5751, allocations: 76.77 kB / 1.464 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.5752, allocations: 4 kB / 1.464 GB, free: 3.723 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.5772, allocations: 1.555 MB / 1.466 GB, free: 2.059 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5772, allocations: 0 / 1.466 GB, free: 2.059 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5784, allocations: 380.1 kB / 1.466 GB, free: 1.668 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.5785, allocations: 27.88 kB / 1.466 GB, free: 1.641 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.5785, allocations: 4 kB / 1.466 GB, free: 1.637 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.5787, allocations: 19.92 kB / 1.466 GB, free: 1.617 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.5788, allocations: 15.97 kB / 1.466 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.5788, allocations: 7.984 kB / 1.466 GB, free: 1.594 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.5789, allocations: 109.3 kB / 1.466 GB, free: 1.488 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.5789, allocations: 0 / 1.466 GB, free: 1.488 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003481/0.5792, allocations: 47.88 kB / 1.466 GB, free: 1.441 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.0001949/0.5794, allocations: 119.2 kB / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009339/0.5804, allocations: 303.1 kB / 1.467 GB, free: 1.008 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5804, allocations: 0 / 1.467 GB, free: 1.008 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.5809, allocations: 226.5 kB / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5813, allocations: 32.09 kB / 1.467 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.5822, allocations: 320.7 kB / 1.467 GB, free: 416 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.5824, allocations: 93.62 kB / 1.467 GB, free: 296 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.5825, allocations: 24.42 kB / 1.467 GB, free: 272 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.5826, allocations: 19.42 kB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of SimCode: time 3.01e-07/0.5826, allocations: 0 / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of Templates: time 0.007967/0.5905, allocations: 3.314 MB / 1.471 GB, free: 12.97 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 -s gbode -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/jenkins1/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.429569325002376]