Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 105.5 kB / 16.41 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 189.7 kB / 17.34 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 68.11 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9339, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003162/0.9372, allocations: 1.689 MB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.17/1.107, allocations: 149.7 MB / 1.315 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/1.107, allocations: 3.938 kB / 1.315 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/1.108, allocations: 23.8 kB / 1.315 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/1.108, allocations: 55.62 kB / 1.315 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/1.109, allocations: 187.3 kB / 1.315 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/1.109, allocations: 163.5 kB / 1.316 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/1.109, allocations: 25.11 kB / 1.316 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/1.111, allocations: 192.3 kB / 1.316 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/1.111, allocations: 67.73 kB / 1.316 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/1.111, allocations: 15.94 kB / 1.316 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/1.111, allocations: 159.7 kB / 1.316 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/1.111, allocations: 31.89 kB / 1.316 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/1.111, allocations: 55.72 kB / 1.316 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004446/1.112, allocations: 201.1 kB / 1.316 GB, free: 10.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.112, allocations: 0 / 1.316 GB, free: 10.8 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.374e-06/1.112, allocations: 0 / 1.316 GB, free: 10.8 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.112, allocations: 4 kB / 1.316 GB, free: 10.79 MB / 1.045 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.0009637/1.113, allocations: 463 kB / 1.317 GB, free: 10.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.113, allocations: 8.031 kB / 1.317 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/1.114, allocations: 64.69 kB / 1.317 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/1.114, allocations: 209.1 kB / 1.317 GB, free: 9.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.114, allocations: 8 kB / 1.317 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/1.114, allocations: 4 kB / 1.317 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/1.114, allocations: 185.8 kB / 1.317 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.114, allocations: 0 / 1.317 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/1.114, allocations: 8 kB / 1.317 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.114, allocations: 0 / 1.317 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/1.115, allocations: 143.8 kB / 1.317 GB, free: 9.617 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/1.116, allocations: 0.8243 MB / 1.318 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/1.117, allocations: 130.5 kB / 1.318 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/1.117, allocations: 80.8 kB / 1.318 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/1.117, allocations: 0 / 1.318 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.117, allocations: 38.5 kB / 1.318 GB, free: 8.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/1.117, allocations: 4 kB / 1.318 GB, free: 8.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001958/1.119, allocations: 451.2 kB / 1.319 GB, free: 7.977 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.119, allocations: 59.34 kB / 1.319 GB, free: 7.906 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/1.119, allocations: 152.6 kB / 1.319 GB, free: 7.75 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.119, allocations: 25.7 kB / 1.319 GB, free: 7.719 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/1.119, allocations: 108.2 kB / 1.319 GB, free: 7.609 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/1.119, allocations: 39.69 kB / 1.319 GB, free: 7.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/1.119, allocations: 37.64 kB / 1.319 GB, free: 7.527 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.119, allocations: 318.8 kB / 1.319 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.12, allocations: 71.94 kB / 1.32 GB, free: 7.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/1.12, allocations: 104.2 kB / 1.32 GB, free: 7.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/1.12, allocations: 176.1 kB / 1.32 GB, free: 6.832 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.12, allocations: 0 / 1.32 GB, free: 6.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001041/1.122, allocations: 274.1 kB / 1.32 GB, free: 6.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.122, allocations: 16.06 kB / 1.32 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.122, allocations: 0 / 1.32 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/1.122, allocations: 80.77 kB / 1.32 GB, free: 6.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.122, allocations: 47.89 kB / 1.32 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/1.125, allocations: 1.656 MB / 1.322 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/1.125, allocations: 27.81 kB / 1.322 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/1.125, allocations: 4 kB / 1.322 GB, free: 4.578 MB / 1.045 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.0001269/1.125, allocations: 121.8 kB / 1.322 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/1.125, allocations: 23.89 kB / 1.322 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.126, allocations: 304.3 kB / 1.322 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.126, allocations: 0 / 1.322 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/1.126, allocations: 4 kB / 1.322 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.126, allocations: 7.984 kB / 1.322 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/1.127, allocations: 237.4 kB / 1.323 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.127, allocations: 3.938 kB / 1.323 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/1.127, allocations: 31.95 kB / 1.323 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/1.127, allocations: 72.78 kB / 1.323 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/1.127, allocations: 11.92 kB / 1.323 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.129, allocations: 1.682 MB / 1.324 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.129, allocations: 0 / 1.324 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/1.13, allocations: 385.2 kB / 1.325 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/1.131, allocations: 104.9 kB / 1.325 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/1.131, allocations: 4 kB / 1.325 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.131, allocations: 19.92 kB / 1.325 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/1.131, allocations: 19.97 kB / 1.325 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.131, allocations: 0 / 1.325 GB, free: 1.324 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.478e-05/1.131, allocations: 115.2 kB / 1.325 GB, free: 1.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.31e-07/1.131, allocations: 0 / 1.325 GB, free: 1.211 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003575/1.131, allocations: 43.91 kB / 1.325 GB, free: 1.168 MB / 1.045 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.0002211/1.132, allocations: 123.2 kB / 1.325 GB, free: 1.039 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008972/1.133, allocations: 298.7 kB / 1.325 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.133, allocations: 4 kB / 1.325 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/1.133, allocations: 226.6 kB / 1.326 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/1.133, allocations: 32.69 kB / 1.326 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009102/1.134, allocations: 342.4 kB / 1.326 GB, free: 100 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.135, allocations: 0.7085 MB / 1.327 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/1.135, allocations: 23.42 kB / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of SimCode: time 2e-07/1.135, allocations: 0 / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of Templates: time 0.005292/1.14, allocations: 2.746 MB / 1.329 GB, free: 12.6 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches