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.001595/0.001595, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001733/0.001733, allocations: 222.3 kB / 23 MB, free: 4.91 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.78/2.78, allocations: 476 MB / 0.7707 GB, free: 4.73 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.002056/0.002056, allocations: 66.95 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003288/0.3335, allocations: 1.659 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.5079, allocations: 131.5 MB / 1.414 GB, free: 6.27 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.508, allocations: 3.938 kB / 1.414 GB, free: 6.266 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.5082, allocations: 23.8 kB / 1.414 GB, free: 6.242 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.5085, allocations: 51.62 kB / 1.414 GB, free: 6.191 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.5091, allocations: 195.3 kB / 1.414 GB, free: 6 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.5094, allocations: 163.5 kB / 1.414 GB, free: 5.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.5095, allocations: 17.3 kB / 1.414 GB, free: 5.824 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.5111, allocations: 214.7 kB / 1.414 GB, free: 5.641 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.5112, allocations: 63.73 kB / 1.415 GB, free: 5.578 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.5113, allocations: 8 kB / 1.415 GB, free: 5.57 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.5116, allocations: 159.8 kB / 1.415 GB, free: 5.414 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.5117, allocations: 27.91 kB / 1.415 GB, free: 5.387 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.5117, allocations: 47.78 kB / 1.415 GB, free: 5.34 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.5121, allocations: 207.2 kB / 1.415 GB, free: 5.137 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5121, allocations: 0 / 1.415 GB, free: 5.137 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5121, allocations: 0 / 1.415 GB, free: 5.137 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5121, allocations: 4 kB / 1.415 GB, free: 5.133 MB / 1.107 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.0008424/0.513, allocations: 397.5 kB / 1.415 GB, free: 4.715 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.513, allocations: 8.031 kB / 1.415 GB, free: 4.707 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.5138, allocations: 84.69 kB / 1.415 GB, free: 4.625 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.5141, allocations: 145 kB / 1.416 GB, free: 4.457 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5141, allocations: 7.938 kB / 1.416 GB, free: 4.449 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.5141, allocations: 12 kB / 1.416 GB, free: 4.438 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.5146, allocations: 179.5 kB / 1.416 GB, free: 4.242 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5146, allocations: 4 kB / 1.416 GB, free: 4.238 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.5146, allocations: 4 kB / 1.416 GB, free: 4.234 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5146, allocations: 4 kB / 1.416 GB, free: 4.23 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.5151, allocations: 143.8 kB / 1.416 GB, free: 4.09 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.5162, allocations: 0.6956 MB / 1.417 GB, free: 3.348 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.5167, allocations: 126.4 kB / 1.417 GB, free: 3.215 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.5169, allocations: 88.78 kB / 1.417 GB, free: 3.125 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.5169, allocations: 0 / 1.417 GB, free: 3.125 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.517, allocations: 30.56 kB / 1.417 GB, free: 3.086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.517, allocations: 0 / 1.417 GB, free: 3.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.00188/0.5189, allocations: 378.3 kB / 1.417 GB, free: 2.707 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.5189, allocations: 51.41 kB / 1.417 GB, free: 2.645 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.5191, allocations: 160.8 kB / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.5191, allocations: 25.7 kB / 1.417 GB, free: 2.449 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.5192, allocations: 116.1 kB / 1.418 GB, free: 2.332 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.5192, allocations: 31.73 kB / 1.418 GB, free: 2.301 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.5193, allocations: 33.7 kB / 1.418 GB, free: 2.262 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5194, allocations: 318.8 kB / 1.418 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.5196, allocations: 63.94 kB / 1.418 GB, free: 1.879 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.5199, allocations: 108.2 kB / 1.418 GB, free: 1.758 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.5204, allocations: 176.2 kB / 1.418 GB, free: 1.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5204, allocations: 7.938 kB / 1.418 GB, free: 1.562 MB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001038/0.5215, allocations: 274.2 kB / 1.418 GB, free: 1.285 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5215, allocations: 7.938 kB / 1.418 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5215, allocations: 0 / 1.418 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.5221, allocations: 92.88 kB / 1.419 GB, free: 1.184 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.5223, allocations: 27.97 kB / 1.419 GB, free: 1.156 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.5245, allocations: 1.528 MB / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5247, allocations: 35.77 kB / 1.42 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5247, allocations: 4 kB / 1.42 GB, free: 15.48 MB / 1.123 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.0001198/0.5248, allocations: 129.7 kB / 1.42 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.5249, allocations: 7.953 kB / 1.42 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.526, allocations: 314.9 kB / 1.421 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.526, allocations: 3.938 kB / 1.421 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.526, allocations: 0 / 1.421 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.526, allocations: 4 kB / 1.421 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.5262, allocations: 165.2 kB / 1.421 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5262, allocations: 4 kB / 1.421 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.5264, allocations: 27.97 kB / 1.421 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.5269, allocations: 72.77 kB / 1.421 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.5269, allocations: 8 kB / 1.421 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.5289, allocations: 1.559 MB / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5289, allocations: 64 / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.53, allocations: 386 kB / 1.423 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.5301, allocations: 23.89 kB / 1.423 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.5301, allocations: 3.984 kB / 1.423 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5303, allocations: 15.98 kB / 1.423 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.5304, allocations: 11.97 kB / 1.423 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5304, allocations: 8 kB / 1.423 GB, free: 12.58 MB / 1.123 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.5305, allocations: 115.2 kB / 1.423 GB, free: 12.46 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/0.5305, allocations: 0 / 1.423 GB, free: 12.46 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003598/0.5308, allocations: 43.94 kB / 1.423 GB, free: 12.42 MB / 1.123 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.0001911/0.531, allocations: 115.2 kB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.5319, allocations: 298.7 kB / 1.423 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5319, allocations: 0 / 1.423 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.5325, allocations: 230.5 kB / 1.424 GB, free: 11.76 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.5328, allocations: 29.64 kB / 1.424 GB, free: 11.73 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.5337, allocations: 341.5 kB / 1.424 GB, free: 11.37 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.5338, allocations: 93.61 kB / 1.424 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.5339, allocations: 23.42 kB / 1.424 GB, free: 11.24 MB / 1.123 GB Notification: Performance of SimCode: time 2.8e-07/0.5339, allocations: 0 / 1.424 GB, free: 11.24 MB / 1.123 GB Notification: Performance of Templates: time 0.005412/0.5393, allocations: 2.71 MB / 1.427 GB, free: 8.531 MB / 1.123 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.737659058067948]