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.00267/0.00267, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.003256/0.003256, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.103/3.103, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.502e-05, allocations: 7.375 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003052/0.003087, allocations: 1.686 MB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2116/0.2147, allocations: 145.3 MB / 0.9543 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2148, allocations: 4 kB / 0.9543 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.2151, allocations: 27.8 kB / 0.9543 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.2155, allocations: 59.44 kB / 0.9544 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.2163, allocations: 191.2 kB / 0.9546 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.2166, allocations: 163.4 kB / 0.9547 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.2168, allocations: 33.2 kB / 0.9548 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.2192, allocations: 284.7 kB / 0.955 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2194, allocations: 47.88 kB / 0.9551 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.2194, allocations: 8 kB / 0.9551 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.2199, allocations: 163.7 kB / 0.9553 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.22, allocations: 31.89 kB / 0.9553 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2201, allocations: 31.92 kB / 0.9553 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.2207, allocations: 235.3 kB / 0.9555 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.2207, allocations: 0 / 0.9555 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2207, allocations: 0 / 0.9555 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2207, allocations: 0 / 0.9555 GB, free: 13.49 MB / 0.9167 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.001248/0.2219, allocations: 491.5 kB / 0.956 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.222, allocations: 12.03 kB / 0.956 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.2233, allocations: 88.64 kB / 0.9561 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2236, allocations: 151.8 kB / 0.9562 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2236, allocations: 11.94 kB / 0.9563 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.2236, allocations: 15.92 kB / 0.9563 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.2242, allocations: 172 kB / 0.9564 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2243, allocations: 4 kB / 0.9564 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.2243, allocations: 4 kB / 0.9564 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2243, allocations: 0 / 0.9564 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.2248, allocations: 115.8 kB / 0.9566 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.227, allocations: 0.9168 MB / 0.9574 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.2275, allocations: 123 kB / 0.9576 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.2278, allocations: 67.66 kB / 0.9576 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.2278, allocations: 3.938 kB / 0.9576 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.2279, allocations: 37.39 kB / 0.9577 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2279, allocations: 0 / 0.9577 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.002591/0.2305, allocations: 329 kB / 0.958 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.2305, allocations: 55.39 kB / 0.958 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.2309, allocations: 206.8 kB / 0.9582 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.2309, allocations: 29.7 kB / 0.9583 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.2311, allocations: 158.8 kB / 0.9584 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.2311, allocations: 31.73 kB / 0.9584 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2312, allocations: 39.36 kB / 0.9585 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003484/0.2316, allocations: 0.4961 MB / 0.959 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.2319, allocations: 55.97 kB / 0.959 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.2322, allocations: 102.3 kB / 0.9591 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.2328, allocations: 158.5 kB / 0.9593 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2328, allocations: 3.938 kB / 0.9593 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001529/0.2344, allocations: 249 kB / 0.9595 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2344, allocations: 4 kB / 0.9595 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2344, allocations: 4 kB / 0.9595 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.2359, allocations: 127.6 kB / 0.9596 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2362, allocations: 31.97 kB / 0.9597 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.2401, allocations: 1.978 MB / 0.9616 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.2403, allocations: 19.88 kB / 0.9616 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.2404, allocations: 7.984 kB / 0.9616 GB, free: 6.832 MB / 0.9167 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.0002257/0.2406, allocations: 180.5 kB / 0.9618 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.2407, allocations: 7.953 kB / 0.9618 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.242, allocations: 269.8 kB / 0.9621 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.242, allocations: 4 kB / 0.9621 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.242, allocations: 0 / 0.9621 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2421, allocations: 3.938 kB / 0.9621 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.2424, allocations: 184.3 kB / 0.9622 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2424, allocations: 0 / 0.9622 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.2427, allocations: 32.09 kB / 0.9623 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.2438, allocations: 115.6 kB / 0.9624 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.2438, allocations: 3.984 kB / 0.9624 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/0.2473, allocations: 1.992 MB / 0.9643 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2473, allocations: 4.031 kB / 0.9643 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2488, allocations: 395.3 kB / 0.9647 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2489, allocations: 31.83 kB / 0.9647 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.249, allocations: 4 kB / 0.9648 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2492, allocations: 7.984 kB / 0.9648 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.2493, allocations: 15.97 kB / 0.9648 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2493, allocations: 4 kB / 0.9648 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001738/0.2495, allocations: 157 kB / 0.9649 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.2495, allocations: 0 / 0.9649 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005783/0.2501, allocations: 47.94 kB / 0.965 GB, free: 3.184 MB / 0.9167 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.0002707/0.2504, allocations: 130.1 kB / 0.9651 GB, free: 3.047 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2515, allocations: 333.3 kB / 0.9654 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2515, allocations: 0 / 0.9654 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.2522, allocations: 281.6 kB / 0.9657 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.2527, allocations: 23.98 kB / 0.9657 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2539, allocations: 303.1 kB / 0.966 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.254, allocations: 97.81 kB / 0.9661 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.2542, allocations: 28.55 kB / 0.9661 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.2543, allocations: 20.48 kB / 0.9661 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.2543, allocations: 0 / 0.9661 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of Templates: time 0.00999/0.2643, allocations: 3.26 MB / 0.9693 GB, free: 14.7 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] 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: 8.445836547063664]