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.001576/0.001576, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.001864/0.001864, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.825/2.825, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.308e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002736/0.002759, allocations: 1.672 MB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.1776, allocations: 131.5 MB / 1.111 GB, free: 6.258 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1777, allocations: 4 kB / 1.111 GB, free: 6.254 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.1779, allocations: 23.73 kB / 1.112 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.1782, allocations: 63.5 kB / 1.112 GB, free: 6.168 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.1788, allocations: 187.2 kB / 1.112 GB, free: 5.984 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.179, allocations: 171.4 kB / 1.112 GB, free: 5.816 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1791, allocations: 32.97 kB / 1.112 GB, free: 5.785 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1806, allocations: 229.4 kB / 1.112 GB, free: 5.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1807, allocations: 51.88 kB / 1.112 GB, free: 5.531 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.1808, allocations: 8 kB / 1.112 GB, free: 5.523 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.1811, allocations: 163.7 kB / 1.112 GB, free: 5.363 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.1811, allocations: 27.89 kB / 1.112 GB, free: 5.336 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.1812, allocations: 35.92 kB / 1.112 GB, free: 5.301 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.1816, allocations: 235.3 kB / 1.113 GB, free: 5.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1816, allocations: 0 / 1.113 GB, free: 5.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1816, allocations: 0 / 1.113 GB, free: 5.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1816, allocations: 0 / 1.113 GB, free: 5.07 MB / 1.061 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.0008409/0.1825, allocations: 393.5 kB / 1.113 GB, free: 4.656 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1825, allocations: 12.03 kB / 1.113 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009029/0.1834, allocations: 76.8 kB / 1.113 GB, free: 4.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1836, allocations: 156.8 kB / 1.113 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1837, allocations: 8 kB / 1.113 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1837, allocations: 8 kB / 1.113 GB, free: 4.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.1842, allocations: 176.8 kB / 1.113 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1842, allocations: 7.922 kB / 1.113 GB, free: 4.176 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1842, allocations: 8 kB / 1.113 GB, free: 4.168 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1842, allocations: 0 / 1.113 GB, free: 4.168 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.1847, allocations: 139.8 kB / 1.114 GB, free: 4.031 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1859, allocations: 0.7036 MB / 1.114 GB, free: 3.281 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.1863, allocations: 118.5 kB / 1.114 GB, free: 3.156 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.1866, allocations: 80.8 kB / 1.114 GB, free: 3.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1866, allocations: 3.938 kB / 1.114 GB, free: 3.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1866, allocations: 34.56 kB / 1.115 GB, free: 3.027 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1866, allocations: 0 / 1.115 GB, free: 3.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.00206/0.1887, allocations: 390.2 kB / 1.115 GB, free: 2.637 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1887, allocations: 55.34 kB / 1.115 GB, free: 2.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1889, allocations: 133.8 kB / 1.115 GB, free: 2.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1889, allocations: 29.7 kB / 1.115 GB, free: 2.395 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.189, allocations: 116.1 kB / 1.115 GB, free: 2.277 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.189, allocations: 31.73 kB / 1.115 GB, free: 2.246 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.1891, allocations: 29.7 kB / 1.115 GB, free: 2.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1892, allocations: 326.8 kB / 1.116 GB, free: 1.883 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.1895, allocations: 63.94 kB / 1.116 GB, free: 1.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.1898, allocations: 112.1 kB / 1.116 GB, free: 1.695 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.1904, allocations: 176.1 kB / 1.116 GB, free: 1.508 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1904, allocations: 0 / 1.116 GB, free: 1.508 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001154/0.1915, allocations: 278.1 kB / 1.116 GB, free: 1.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1915, allocations: 8 kB / 1.116 GB, free: 1.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1915, allocations: 0 / 1.116 GB, free: 1.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.1922, allocations: 92.81 kB / 1.116 GB, free: 1.125 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1924, allocations: 27.97 kB / 1.116 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.1946, allocations: 1.534 MB / 1.118 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1948, allocations: 35.86 kB / 1.118 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1949, allocations: 4 kB / 1.118 GB, free: 15.42 MB / 1.076 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.0001379/0.195, allocations: 128 kB / 1.118 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.195, allocations: 7.953 kB / 1.118 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1962, allocations: 307 kB / 1.118 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1962, allocations: 4 kB / 1.118 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1962, allocations: 0 / 1.118 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1962, allocations: 7.922 kB / 1.118 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1965, allocations: 173.1 kB / 1.118 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1965, allocations: 0 / 1.118 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.1967, allocations: 31.91 kB / 1.118 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.1972, allocations: 80.77 kB / 1.119 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1972, allocations: 4 kB / 1.119 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.1992, allocations: 1.547 MB / 1.12 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1992, allocations: 0 / 1.12 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.2004, allocations: 384.1 kB / 1.12 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.2004, allocations: 27.86 kB / 1.12 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2005, allocations: 0 / 1.12 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.2007, allocations: 19.98 kB / 1.12 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.2008, allocations: 12.03 kB / 1.12 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2008, allocations: 12 kB / 1.12 GB, free: 12.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.2009, allocations: 111.2 kB / 1.121 GB, free: 12.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2009, allocations: 0 / 1.121 GB, free: 12.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003445/0.2012, allocations: 47.89 kB / 1.121 GB, free: 12.36 MB / 1.076 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.0002137/0.2014, allocations: 115.2 kB / 1.121 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009753/0.2024, allocations: 302.7 kB / 1.121 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2024, allocations: 0 / 1.121 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.203, allocations: 222.5 kB / 1.121 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.2033, allocations: 27.34 kB / 1.121 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.2042, allocations: 308.2 kB / 1.122 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.945e-05/0.2043, allocations: 97.75 kB / 1.122 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.2044, allocations: 28.42 kB / 1.122 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.2044, allocations: 16.48 kB / 1.122 GB, free: 11.2 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.2044, allocations: 4 kB / 1.122 GB, free: 11.19 MB / 1.076 GB Notification: Performance of Templates: time 0.007481/0.2119, allocations: 3.182 MB / 1.125 GB, free: 8.051 MB / 1.076 GB " [Timeout remaining time 300] 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: 8.77282453328371]