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.001844/0.001844, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002961/0.002961, allocations: 219.6 kB / 23.01 MB, free: 4.605 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.756/2.756, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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.002034/0.002034, allocations: 72.02 kB / 1.119 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 169.9 MB / 1.285 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002832/0.3282, allocations: 1.7 MB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.512, allocations: 153 MB / 1.436 GB, free: 7.953 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.5121, allocations: 0 / 1.436 GB, free: 7.953 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.5123, allocations: 27.8 kB / 1.436 GB, free: 7.926 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.5125, allocations: 51.58 kB / 1.436 GB, free: 7.875 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.513, allocations: 191.3 kB / 1.436 GB, free: 7.688 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.5132, allocations: 163.5 kB / 1.436 GB, free: 7.527 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5134, allocations: 29.22 kB / 1.436 GB, free: 7.5 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.5148, allocations: 203.1 kB / 1.436 GB, free: 7.324 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.5149, allocations: 67.75 kB / 1.436 GB, free: 7.258 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.515, allocations: 12 kB / 1.436 GB, free: 7.246 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.5153, allocations: 175.7 kB / 1.437 GB, free: 7.074 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.5153, allocations: 27.89 kB / 1.437 GB, free: 7.047 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.5154, allocations: 51.73 kB / 1.437 GB, free: 6.996 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.5158, allocations: 211.2 kB / 1.437 GB, free: 6.789 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5158, allocations: 0 / 1.437 GB, free: 6.789 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5158, allocations: 0 / 1.437 GB, free: 6.789 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5158, allocations: 0 / 1.437 GB, free: 6.789 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.0008742/0.5167, allocations: 393.5 kB / 1.437 GB, free: 6.375 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.5167, allocations: 12.03 kB / 1.437 GB, free: 6.363 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.5176, allocations: 84.75 kB / 1.437 GB, free: 6.281 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.5178, allocations: 145 kB / 1.437 GB, free: 6.113 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5178, allocations: 8 kB / 1.437 GB, free: 6.105 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.5179, allocations: 8 kB / 1.437 GB, free: 6.098 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.5183, allocations: 185.7 kB / 1.438 GB, free: 5.895 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.5183, allocations: 0 / 1.438 GB, free: 5.895 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.5184, allocations: 4 kB / 1.438 GB, free: 5.891 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.5184, allocations: 7.938 kB / 1.438 GB, free: 5.883 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.5189, allocations: 146.3 kB / 1.438 GB, free: 5.742 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.5201, allocations: 0.7999 MB / 1.439 GB, free: 4.871 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5205, allocations: 134.5 kB / 1.439 GB, free: 4.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.5208, allocations: 76.78 kB / 1.439 GB, free: 4.652 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.5208, allocations: 0 / 1.439 GB, free: 4.652 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5209, allocations: 42.5 kB / 1.439 GB, free: 4.602 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.5209, allocations: 0 / 1.439 GB, free: 4.602 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.001953/0.5228, allocations: 382.3 kB / 1.439 GB, free: 4.219 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.5229, allocations: 51.41 kB / 1.439 GB, free: 4.156 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.523, allocations: 161.1 kB / 1.439 GB, free: 3.992 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.523, allocations: 29.7 kB / 1.439 GB, free: 3.957 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.5231, allocations: 104.2 kB / 1.44 GB, free: 3.852 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.5232, allocations: 35.73 kB / 1.44 GB, free: 3.816 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.5232, allocations: 29.7 kB / 1.44 GB, free: 3.781 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5234, allocations: 322.8 kB / 1.44 GB, free: 3.457 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.5237, allocations: 71.92 kB / 1.44 GB, free: 3.387 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.5239, allocations: 96.23 kB / 1.44 GB, free: 3.277 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.5244, allocations: 180.1 kB / 1.44 GB, free: 3.086 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5245, allocations: 4 kB / 1.44 GB, free: 3.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001117/0.5256, allocations: 274.2 kB / 1.441 GB, free: 2.805 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5256, allocations: 8.062 kB / 1.441 GB, free: 2.797 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5256, allocations: 4 kB / 1.441 GB, free: 2.793 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.5262, allocations: 88.75 kB / 1.441 GB, free: 2.703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.5265, allocations: 39.89 kB / 1.441 GB, free: 2.664 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.5288, allocations: 1.561 MB / 1.442 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.5291, allocations: 23.94 kB / 1.442 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.5291, allocations: 7.984 kB / 1.442 GB, free: 0.9609 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.0001366/0.5292, allocations: 117.8 kB / 1.442 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.5293, allocations: 15.91 kB / 1.442 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.5304, allocations: 318.7 kB / 1.443 GB, free: 0.5 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5304, allocations: 4 kB / 1.443 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.5304, allocations: 4 kB / 1.443 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5304, allocations: 0 / 1.443 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.5307, allocations: 212.6 kB / 1.443 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5307, allocations: 4 kB / 1.443 GB, free: 244 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.531, allocations: 35.89 kB / 1.443 GB, free: 208 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.5314, allocations: 76.78 kB / 1.443 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5314, allocations: 3.938 kB / 1.443 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.5336, allocations: 1.586 MB / 1.444 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5336, allocations: 0 / 1.444 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5346, allocations: 380.1 kB / 1.445 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.5347, allocations: 19.94 kB / 1.445 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.5347, allocations: 7.984 kB / 1.445 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.535, allocations: 19.92 kB / 1.445 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.535, allocations: 16.11 kB / 1.445 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.5351, allocations: 7.984 kB / 1.445 GB, free: 13.95 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001065/0.5352, allocations: 115.2 kB / 1.445 GB, free: 13.84 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5352, allocations: 0 / 1.445 GB, free: 13.84 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003498/0.5355, allocations: 43.94 kB / 1.445 GB, free: 13.79 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.0002113/0.5357, allocations: 111.1 kB / 1.445 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009244/0.5366, allocations: 303.1 kB / 1.445 GB, free: 13.37 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5367, allocations: 4 kB / 1.445 GB, free: 13.36 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.5372, allocations: 222.6 kB / 1.446 GB, free: 13.13 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.5376, allocations: 37.84 kB / 1.446 GB, free: 13.1 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.5384, allocations: 345.2 kB / 1.446 GB, free: 12.73 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.5389, allocations: 0.7124 MB / 1.447 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.539, allocations: 19.42 kB / 1.447 GB, free: 11.97 MB / 1.154 GB Notification: Performance of SimCode: time 3.3e-07/0.539, allocations: 0 / 1.447 GB, free: 11.97 MB / 1.154 GB Notification: Performance of Templates: time 0.005532/0.5445, allocations: 2.745 MB / 1.449 GB, free: 9.238 MB / 1.154 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/jenkins1/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: 11.797725864016684]