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.001482/0.001482, allocations: 78.95 kB / 19.18 MB, free: 2.523 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.00154/0.00154, allocations: 166.6 kB / 22.46 MB, free: 5.371 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.834/2.834, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.079e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003268/0.003299, allocations: 1.654 MB / 0.9526 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.1851, allocations: 131.6 MB / 1.081 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.1852, allocations: 0 / 1.081 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1853, allocations: 27.8 kB / 1.081 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1856, allocations: 59.5 kB / 1.081 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.1862, allocations: 187.2 kB / 1.081 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1864, allocations: 167.4 kB / 1.081 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1865, allocations: 21.3 kB / 1.081 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.188, allocations: 228 kB / 1.082 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1881, allocations: 47.88 kB / 1.082 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.1882, allocations: 8 kB / 1.082 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.1885, allocations: 171.6 kB / 1.082 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1886, allocations: 31.89 kB / 1.082 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.1887, allocations: 39.91 kB / 1.082 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.1891, allocations: 227.3 kB / 1.082 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1891, allocations: 3.938 kB / 1.082 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1891, allocations: 0 / 1.082 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1891, allocations: 0 / 1.082 GB, free: 4.695 MB / 0.9825 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.0008782/0.19, allocations: 397.5 kB / 1.083 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.19, allocations: 8.031 kB / 1.083 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.1909, allocations: 80.75 kB / 1.083 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1912, allocations: 149 kB / 1.083 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1912, allocations: 0 / 1.083 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1912, allocations: 15.98 kB / 1.083 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.1917, allocations: 184.2 kB / 1.083 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1917, allocations: 0 / 1.083 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1917, allocations: 0 / 1.083 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1917, allocations: 8 kB / 1.083 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.1923, allocations: 143.8 kB / 1.083 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.1934, allocations: 0.6843 MB / 1.084 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.1939, allocations: 130.4 kB / 1.084 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.1941, allocations: 80.8 kB / 1.084 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1942, allocations: 3.938 kB / 1.084 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1942, allocations: 30.56 kB / 1.084 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.1942, allocations: 0 / 1.084 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.002051/0.1963, allocations: 386.2 kB / 1.084 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1963, allocations: 55.41 kB / 1.084 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1965, allocations: 147.7 kB / 1.085 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.1965, allocations: 33.7 kB / 1.085 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.1966, allocations: 104 kB / 1.085 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1966, allocations: 31.73 kB / 1.085 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.1967, allocations: 37.66 kB / 1.085 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1968, allocations: 322.8 kB / 1.085 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1971, allocations: 67.94 kB / 1.085 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1974, allocations: 104.2 kB / 1.085 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.198, allocations: 176.1 kB / 1.085 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.198, allocations: 8 kB / 1.085 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001159/0.1991, allocations: 278.1 kB / 1.086 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1992, allocations: 6.031 kB / 1.086 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1992, allocations: 0 / 1.086 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.1998, allocations: 100.8 kB / 1.086 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2, allocations: 27.97 kB / 1.086 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.2023, allocations: 1.531 MB / 1.087 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2026, allocations: 23.94 kB / 1.087 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.2026, allocations: 8 kB / 1.087 GB, free: 15.05 MB / 0.9981 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.0001222/0.2027, allocations: 125.7 kB / 1.087 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.2028, allocations: 11.91 kB / 1.088 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2039, allocations: 310.9 kB / 1.088 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2039, allocations: 0 / 1.088 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.2039, allocations: 0 / 1.088 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2039, allocations: 7.938 kB / 1.088 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.2042, allocations: 173.2 kB / 1.088 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2042, allocations: 0 / 1.088 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2045, allocations: 31.97 kB / 1.088 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.2049, allocations: 76.7 kB / 1.088 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.205, allocations: 4 kB / 1.088 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.2071, allocations: 1.555 MB / 1.09 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2071, allocations: 4.062 kB / 1.09 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.2082, allocations: 376 kB / 1.09 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.2083, allocations: 19.94 kB / 1.09 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.2083, allocations: 7.984 kB / 1.09 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2086, allocations: 11.98 kB / 1.09 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.2086, allocations: 15.97 kB / 1.09 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.2086, allocations: 4 kB / 1.09 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.2087, allocations: 108.9 kB / 1.09 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2087, allocations: 3.938 kB / 1.09 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003612/0.2091, allocations: 47.94 kB / 1.09 GB, free: 12.01 MB / 0.9981 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.2093, allocations: 119.1 kB / 1.09 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.2103, allocations: 307 kB / 1.091 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2103, allocations: 0 / 1.091 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.2109, allocations: 218.6 kB / 1.091 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2113, allocations: 28.12 kB / 1.091 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.2122, allocations: 312.8 kB / 1.091 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2123, allocations: 97.8 kB / 1.091 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.2124, allocations: 24.42 kB / 1.091 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.2125, allocations: 28.48 kB / 1.091 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.2125, allocations: 0 / 1.091 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.007746/0.2202, allocations: 3.157 MB / 1.094 GB, free: 7.715 MB / 0.9981 GB " [Timeout remaining time 300] 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/jenkins/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: 8.627902325242758]