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.001867/0.001867, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002727/0.002727, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.992 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.335/3.335, allocations: 0.4899 GB / 0.7951 GB, free: 33.41 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.002058/0.002058, allocations: 72.14 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003015/0.3355, allocations: 1.705 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.5197, allocations: 153.1 MB / 1.477 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.5198, allocations: 4 kB / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.5199, allocations: 23.73 kB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.5203, allocations: 55.64 kB / 1.478 GB, free: 6.062 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.5207, allocations: 187.3 kB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.5209, allocations: 163.5 kB / 1.478 GB, free: 5.719 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5211, allocations: 25.28 kB / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.5225, allocations: 190.5 kB / 1.478 GB, free: 5.531 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.5226, allocations: 71.67 kB / 1.478 GB, free: 5.461 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.5227, allocations: 8 kB / 1.478 GB, free: 5.453 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.523, allocations: 171.8 kB / 1.478 GB, free: 5.285 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.523, allocations: 23.92 kB / 1.478 GB, free: 5.262 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 9.013e-05/0.5231, allocations: 59.72 kB / 1.478 GB, free: 5.203 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.5235, allocations: 215.2 kB / 1.479 GB, free: 4.992 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5235, allocations: 0 / 1.479 GB, free: 4.992 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5235, allocations: 0 / 1.479 GB, free: 4.992 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.5235, allocations: 0 / 1.479 GB, free: 4.992 MB / 1.17 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.0008646/0.5244, allocations: 401.5 kB / 1.479 GB, free: 4.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5244, allocations: 8.031 kB / 1.479 GB, free: 4.562 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008729/0.5253, allocations: 80.7 kB / 1.479 GB, free: 4.484 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.5255, allocations: 147.2 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5255, allocations: 11.94 kB / 1.479 GB, free: 4.305 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.5255, allocations: 7.984 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.526, allocations: 187.3 kB / 1.479 GB, free: 4.094 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.526, allocations: 0 / 1.479 GB, free: 4.094 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.526, allocations: 8 kB / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.526, allocations: 0 / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.5265, allocations: 147.8 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.5277, allocations: 0.7924 MB / 1.48 GB, free: 3.078 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.5282, allocations: 130.4 kB / 1.48 GB, free: 2.941 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.5284, allocations: 80.78 kB / 1.481 GB, free: 2.859 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.5285, allocations: 4 kB / 1.481 GB, free: 2.855 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5285, allocations: 30.56 kB / 1.481 GB, free: 2.816 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5285, allocations: 0 / 1.481 GB, free: 2.816 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.002009/0.5305, allocations: 390.2 kB / 1.481 GB, free: 2.426 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.5306, allocations: 51.41 kB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.5308, allocations: 165.7 kB / 1.481 GB, free: 2.195 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.5308, allocations: 25.7 kB / 1.481 GB, free: 2.164 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.5309, allocations: 104.3 kB / 1.481 GB, free: 2.059 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.531, allocations: 31.73 kB / 1.481 GB, free: 2.027 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.531, allocations: 29.7 kB / 1.481 GB, free: 1.992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.5312, allocations: 326.8 kB / 1.482 GB, free: 1.664 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.5315, allocations: 67.94 kB / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.5318, allocations: 112.1 kB / 1.482 GB, free: 1.473 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.5323, allocations: 176.1 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5323, allocations: 3.938 kB / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001107/0.5334, allocations: 278.1 kB / 1.482 GB, free: 1 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5334, allocations: 7.938 kB / 1.482 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5334, allocations: 7.984 kB / 1.482 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.5341, allocations: 80.89 kB / 1.482 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.5343, allocations: 27.97 kB / 1.482 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.5367, allocations: 1.559 MB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.5369, allocations: 31.81 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.5369, allocations: 7.984 kB / 1.484 GB, free: 15.15 MB / 1.186 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/0.5371, allocations: 127.4 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.5371, allocations: 15.91 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.5382, allocations: 318.3 kB / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5382, allocations: 0 / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.5382, allocations: 0 / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5382, allocations: 0 / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.5385, allocations: 216.6 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5385, allocations: 4 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.5387, allocations: 31.97 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.5392, allocations: 72.77 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.5392, allocations: 7.938 kB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.5412, allocations: 1.578 MB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5412, allocations: 0 / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5422, allocations: 388.1 kB / 1.487 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.5423, allocations: 19.94 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5423, allocations: 4 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5426, allocations: 19.91 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.5426, allocations: 11.98 kB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.5426, allocations: 7.984 kB / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.5427, allocations: 117.5 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5427, allocations: 3.938 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003551/0.5431, allocations: 43.94 kB / 1.487 GB, free: 12 MB / 1.186 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.000209/0.5433, allocations: 119.3 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.5442, allocations: 310.4 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5442, allocations: 0 / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.5447, allocations: 226.8 kB / 1.487 GB, free: 11.32 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.5451, allocations: 29.36 kB / 1.487 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.5459, allocations: 311.6 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.5463, allocations: 0.7163 MB / 1.488 GB, free: 10.22 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.5465, allocations: 20.97 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.5466, allocations: 19.42 kB / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of SimCode: time 3.4e-07/0.5466, allocations: 0 / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of Templates: time 0.007695/0.5543, allocations: 3.361 MB / 1.492 GB, free: 6.848 MB / 1.186 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 -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/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: 9.31563399778679]