Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.001053/0.001053, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001139/0.001139, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9454/0.9454, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.43/2.43, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.344e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1485/0.1485, allocations: 154.7 MB / 0.9897 GB, free: 2.91 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.1611, allocations: 11.26 MB / 1.001 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1624, allocations: 95.19 kB / 1.001 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.1632, allocations: 440.5 kB / 1.001 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.1656, allocations: 1.674 MB / 1.003 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.1683, allocations: 1.842 MB / 1.005 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.1714, allocations: 3.514 MB / 1.008 GB, free: 28 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.173, allocations: 1.157 MB / 1.009 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.1756, allocations: 2.083 MB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008572/0.1764, allocations: 0.8331 MB / 1.012 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1766, allocations: 120 kB / 1.012 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.1782, allocations: 1.158 MB / 1.013 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.1785, allocations: 0.5255 MB / 1.014 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.179, allocations: 0.5493 MB / 1.014 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.1809, allocations: 1.802 MB / 1.016 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.181, allocations: 4 kB / 1.016 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.092e-06/0.181, allocations: 0 / 1.016 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.181, allocations: 0 / 1.016 GB, free: 7.883 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001932/0.1829, allocations: 1.953 MB / 1.018 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1829, allocations: 8.625 kB / 1.018 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.1842, allocations: 0.5224 MB / 1.019 GB, free: 5.367 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1852, allocations: 0.9348 MB / 1.019 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.1853, allocations: 82 kB / 1.02 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.1854, allocations: 111.9 kB / 1.02 GB, free: 4.188 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.1863, allocations: 1.039 MB / 1.021 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.1863, allocations: 11.92 kB / 1.021 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.1864, allocations: 44 kB / 1.021 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.1864, allocations: 38 kB / 1.021 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.1869, allocations: 363 kB / 1.021 GB, free: 2.555 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.1907, allocations: 5.22 MB / 1.026 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.1911, allocations: 218.8 kB / 1.026 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.1912, allocations: 75.58 kB / 1.026 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.1913, allocations: 23.98 kB / 1.026 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1913, allocations: 46.5 kB / 1.027 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.1913, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32): time 0.0005415/0.1918, allocations: 281.4 kB / 1.027 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1919, allocations: 63.33 kB / 1.027 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.1926, allocations: 1.042 MB / 1.028 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.1926, allocations: 37.7 kB / 1.028 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.1933, allocations: 0.6151 MB / 1.029 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.1934, allocations: 119 kB / 1.029 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.1936, allocations: 206.4 kB / 1.029 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1937, allocations: 341.9 kB / 1.029 GB, free: 10 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1938, allocations: 91.64 kB / 1.029 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.1943, allocations: 0.8365 MB / 1.03 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.1949, allocations: 0.7722 MB / 1.031 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.1949, allocations: 4 kB / 1.031 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0006538/0.1955, allocations: 0.6334 MB / 1.031 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1956, allocations: 14.5 kB / 1.031 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.1956, allocations: 20.88 kB / 1.031 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.1956, allocations: 24 kB / 1.031 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.1961, allocations: 243.6 kB / 1.032 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.1961, allocations: 39.8 kB / 1.032 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.1966, allocations: 151.1 kB / 1.032 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.1966, allocations: 47.98 kB / 1.032 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002549/0.1969, allocations: 191.7 kB / 1.032 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004266/0.1973, allocations: 0.8362 MB / 1.033 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005463/0.1979, allocations: 0.767 MB / 1.034 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.139e-06/0.1979, allocations: 4 kB / 1.034 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.0006445/0.1985, allocations: 0.636 MB / 1.034 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1985, allocations: 12 kB / 1.034 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1985, allocations: 16 kB / 1.034 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1986, allocations: 24 kB / 1.034 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.1993, allocations: 243.5 kB / 1.035 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.1993, allocations: 36.11 kB / 1.035 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.1998, allocations: 123.4 kB / 1.035 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.1999, allocations: 48 kB / 1.035 GB, free: 3.078 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (114): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.2, allocations: 251.8 kB / 1.035 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.2001, allocations: 83.91 kB / 1.035 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.2005, allocations: 295.2 kB / 1.035 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2005, allocations: 4 kB / 1.035 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2005, allocations: 3.938 kB / 1.035 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2005, allocations: 4 kB / 1.035 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2016, allocations: 0.9945 MB / 1.036 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2016, allocations: 4 kB / 1.036 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.2018, allocations: 87.8 kB / 1.036 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2018, allocations: 4 kB / 1.036 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.2018, allocations: 12 kB / 1.036 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2019, allocations: 8.312 kB / 1.036 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2019, allocations: 11.98 kB / 1.037 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.2023, allocations: 492.5 kB / 1.037 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.2025, allocations: 159 kB / 1.037 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.2026, allocations: 8 kB / 1.037 GB, free: 496 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.2029, allocations: 39.97 kB / 1.037 GB, free: 456 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.203, allocations: 31.89 kB / 1.037 GB, free: 424 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.203, allocations: 15.98 kB / 1.037 GB, free: 408 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003729/0.2034, allocations: 0.5041 MB / 1.038 GB, free: 15.89 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2034, allocations: 0 / 1.038 GB, free: 15.89 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001137/0.2045, allocations: 0.6859 MB / 1.038 GB, free: 15.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003041/0.2048, allocations: 152 kB / 1.039 GB, free: 15.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000704/0.2055, allocations: 0.6587 MB / 1.039 GB, free: 14.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.2056, allocations: 16.5 kB / 1.039 GB, free: 14.37 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2057, allocations: 92.7 kB / 1.039 GB, free: 14.28 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2068, allocations: 0.4929 MB / 1.04 GB, free: 13.79 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2098, allocations: 2.141 MB / 1.042 GB, free: 11.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.21, allocations: 263.8 kB / 1.042 GB, free: 11.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005545/0.2106, allocations: 241.6 kB / 1.042 GB, free: 11.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/0.2114, allocations: 389 kB / 1.043 GB, free: 10.65 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/0.2114, allocations: 3.938 kB / 1.043 GB, free: 10.64 MB / 1.01 GB Notification: Performance of Templates: time 0.4235/0.6349, allocations: 19.05 MB / 1.061 GB, free: 78.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.121753623709083]