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.001714/0.001714, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.002098/0.002098, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.018/3.018, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002066/0.002066, allocations: 70.08 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283/1.285, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002744/1.287, allocations: 1.687 MB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.23/1.517, allocations: 153 MB / 1.473 GB, free: 7.84 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/1.518, allocations: 1.594 kB / 1.473 GB, free: 7.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/1.518, allocations: 25.17 kB / 1.473 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/1.518, allocations: 49.56 kB / 1.473 GB, free: 7.777 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/1.519, allocations: 190.8 kB / 1.473 GB, free: 7.633 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/1.519, allocations: 162.7 kB / 1.473 GB, free: 7.539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/1.519, allocations: 29.25 kB / 1.473 GB, free: 7.52 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/1.521, allocations: 204.2 kB / 1.474 GB, free: 7.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/1.521, allocations: 68.73 kB / 1.474 GB, free: 7.383 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/1.521, allocations: 9.188 kB / 1.474 GB, free: 7.383 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/1.521, allocations: 177.5 kB / 1.474 GB, free: 7.297 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/1.521, allocations: 23.08 kB / 1.474 GB, free: 7.277 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/1.521, allocations: 55.44 kB / 1.474 GB, free: 7.238 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/1.522, allocations: 205.5 kB / 1.474 GB, free: 7.117 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.522, allocations: 1.688 kB / 1.474 GB, free: 7.117 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/1.522, allocations: 0 / 1.474 GB, free: 7.117 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.522, allocations: 4 kB / 1.474 GB, free: 7.113 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.0009751/1.523, allocations: 474.2 kB / 1.475 GB, free: 6.664 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.523, allocations: 14.17 kB / 1.475 GB, free: 6.66 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008784/1.524, allocations: 77.11 kB / 1.475 GB, free: 6.629 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/1.524, allocations: 210.5 kB / 1.475 GB, free: 6.395 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/1.524, allocations: 8.094 kB / 1.475 GB, free: 6.391 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/1.524, allocations: 9.156 kB / 1.475 GB, free: 6.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/1.524, allocations: 191.5 kB / 1.475 GB, free: 6.23 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.524, allocations: 1.219 kB / 1.475 GB, free: 6.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/1.524, allocations: 5.438 kB / 1.475 GB, free: 6.227 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.524, allocations: 1.438 kB / 1.475 GB, free: 6.227 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/1.525, allocations: 145.2 kB / 1.475 GB, free: 6.156 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.526, allocations: 0.8238 MB / 1.476 GB, free: 5.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/1.527, allocations: 123.4 kB / 1.476 GB, free: 5.266 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/1.527, allocations: 76.95 kB / 1.476 GB, free: 5.223 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.527, allocations: 1.062 kB / 1.476 GB, free: 5.223 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.527, allocations: 39.53 kB / 1.476 GB, free: 5.176 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/1.527, allocations: 1.031 kB / 1.476 GB, free: 5.176 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.002041/1.529, allocations: 458.4 kB / 1.477 GB, free: 4.879 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.529, allocations: 53.19 kB / 1.477 GB, free: 4.816 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/1.529, allocations: 157.9 kB / 1.477 GB, free: 4.684 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/1.529, allocations: 34.89 kB / 1.477 GB, free: 4.645 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/1.529, allocations: 108.6 kB / 1.477 GB, free: 4.539 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/1.529, allocations: 31.83 kB / 1.477 GB, free: 4.512 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/1.529, allocations: 30.23 kB / 1.477 GB, free: 4.484 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.53, allocations: 321.5 kB / 1.477 GB, free: 4.164 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.53, allocations: 71.22 kB / 1.477 GB, free: 4.129 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/1.53, allocations: 107.5 kB / 1.478 GB, free: 4.047 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/1.531, allocations: 172.5 kB / 1.478 GB, free: 3.938 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.531, allocations: 0 / 1.478 GB, free: 3.938 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001123/1.532, allocations: 286.7 kB / 1.478 GB, free: 3.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.532, allocations: 9.406 kB / 1.478 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.532, allocations: 1.188 kB / 1.478 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/1.533, allocations: 90.69 kB / 1.478 GB, free: 3.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/1.533, allocations: 33.41 kB / 1.478 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.535, allocations: 1.655 MB / 1.48 GB, free: 2.102 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.536, allocations: 23.83 kB / 1.48 GB, free: 2.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/1.536, allocations: 4.188 kB / 1.48 GB, free: 2.09 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.0001471/1.536, allocations: 126.7 kB / 1.48 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/1.536, allocations: 13.03 kB / 1.48 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/1.537, allocations: 319.8 kB / 1.48 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.537, allocations: 1.156 kB / 1.48 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/1.537, allocations: 1.156 kB / 1.48 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.537, allocations: 0 / 1.48 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/1.537, allocations: 237.9 kB / 1.48 GB, free: 1.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.537, allocations: 0 / 1.48 GB, free: 1.508 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.538, allocations: 32.44 kB / 1.48 GB, free: 1.496 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/1.538, allocations: 78.52 kB / 1.481 GB, free: 1.453 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/1.538, allocations: 5.219 kB / 1.481 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/1.54, allocations: 1.684 MB / 1.482 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.54, allocations: 4.062 kB / 1.482 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.541, allocations: 382.9 kB / 1.483 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.541, allocations: 103.5 kB / 1.483 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/1.541, allocations: 1.375 kB / 1.483 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/1.542, allocations: 21.41 kB / 1.483 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/1.542, allocations: 13.17 kB / 1.483 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/1.542, allocations: 7.359 kB / 1.483 GB, free: 15.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001099/1.542, allocations: 112.8 kB / 1.483 GB, free: 15.32 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.542, allocations: 0 / 1.483 GB, free: 15.32 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003948/1.542, allocations: 52.11 kB / 1.483 GB, free: 15.31 MB / 1.17 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.0002443/1.543, allocations: 119.8 kB / 1.483 GB, free: 15.21 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.544, allocations: 305.9 kB / 1.483 GB, free: 15 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.544, allocations: 1.094 kB / 1.483 GB, free: 15 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/1.544, allocations: 219.7 kB / 1.483 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/1.544, allocations: 31.08 kB / 1.484 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/1.545, allocations: 340.5 kB / 1.484 GB, free: 14.57 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/1.546, allocations: 0.7099 MB / 1.485 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/1.546, allocations: 27.17 kB / 1.485 GB, free: 13.84 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/1.546, allocations: 0 / 1.485 GB, free: 13.84 MB / 1.17 GB Notification: Performance of Templates: time 0.006182/1.552, allocations: 2.738 MB / 1.487 GB, free: 12.41 MB / 1.17 GB " [Timeout remaining time 298] 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/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: 12.799392446002457]