Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.001233/0.001233, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001218/0.001218, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.04/1.04, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.078/2.078, allocations: 429.5 MB / 0.6733 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.448e-05, allocations: 5.922 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1596/0.1597, allocations: 149.6 MB / 1.024 GB, free: 236 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007595/0.1672, allocations: 4.745 MB / 1.029 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008198/0.1681, allocations: 43.62 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007751/0.1688, allocations: 226.3 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.1708, allocations: 0.9167 MB / 1.03 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.1732, allocations: 1.098 MB / 1.031 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.1754, allocations: 1.921 MB / 1.033 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007877/0.1762, allocations: 0.4916 MB / 1.033 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.178, allocations: 1.047 MB / 1.034 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.1788, allocations: 0.4985 MB / 1.035 GB, free: 5.219 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1789, allocations: 60 kB / 1.035 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.18, allocations: 0.6118 MB / 1.036 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.1803, allocations: 295.1 kB / 1.036 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1805, allocations: 295.3 kB / 1.036 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.1818, allocations: 0.946 MB / 1.037 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1819, allocations: 0 / 1.037 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1819, allocations: 0 / 1.037 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.1819, allocations: 0 / 1.037 GB, free: 3.02 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001523/0.1834, allocations: 1.176 MB / 1.038 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.1835, allocations: 12.03 kB / 1.038 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.1843, allocations: 255.9 kB / 1.038 GB, free: 1.543 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.1851, allocations: 0.6016 MB / 1.039 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.1852, allocations: 48.94 kB / 1.039 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.1852, allocations: 55.98 kB / 1.039 GB, free: 0.8125 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.1858, allocations: 469.4 kB / 1.04 GB, free: 320 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1858, allocations: 0 / 1.04 GB, free: 320 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.1859, allocations: 20 kB / 1.04 GB, free: 300 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.1859, allocations: 17 kB / 1.04 GB, free: 284 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.1862, allocations: 177.9 kB / 1.04 GB, free: 104 kB / 0.9948 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.001724/0.1879, allocations: 1.273 MB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.1883, allocations: 210.3 kB / 1.041 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1885, allocations: 112 kB / 1.041 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.1886, allocations: 24.27 kB / 1.041 GB, free: 14.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1887, allocations: 45.66 kB / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.1887, allocations: 0 / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0006526/0.1893, allocations: 331.2 kB / 1.042 GB, free: 14.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1893, allocations: 59.34 kB / 1.042 GB, free: 13.98 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.1898, allocations: 0.5542 MB / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1898, allocations: 33.7 kB / 1.042 GB, free: 13.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1901, allocations: 387.8 kB / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.1902, allocations: 127 kB / 1.043 GB, free: 12.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1903, allocations: 103.8 kB / 1.043 GB, free: 12.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1905, allocations: 0.5469 MB / 1.044 GB, free: 12.19 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1906, allocations: 69.64 kB / 1.044 GB, free: 12.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1909, allocations: 474.9 kB / 1.044 GB, free: 11.51 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.1913, allocations: 379.5 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1913, allocations: 0 / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004881/0.1918, allocations: 400.5 kB / 1.045 GB, free: 10.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1918, allocations: 4 kB / 1.045 GB, free: 10.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1918, allocations: 8 kB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1919, allocations: 8 kB / 1.045 GB, free: 10.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1921, allocations: 99.83 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.1921, allocations: 11.94 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.1924, allocations: 60.11 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.1924, allocations: 20 kB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002072/0.1926, allocations: 195.8 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003118/0.1929, allocations: 467 kB / 1.046 GB, free: 9.648 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003568/0.1933, allocations: 381 kB / 1.046 GB, free: 9.184 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.1933, allocations: 0 / 1.046 GB, free: 9.184 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0004788/0.1937, allocations: 385.2 kB / 1.046 GB, free: 8.801 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1938, allocations: 8 kB / 1.046 GB, free: 8.793 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1938, allocations: 4 kB / 1.046 GB, free: 8.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.1938, allocations: 8 kB / 1.046 GB, free: 8.781 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.194, allocations: 103.8 kB / 1.046 GB, free: 8.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.194, allocations: 11.94 kB / 1.046 GB, free: 8.668 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1942, allocations: 43.77 kB / 1.047 GB, free: 8.625 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.1942, allocations: 23.94 kB / 1.047 GB, free: 8.602 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 57 * 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.0001747/0.1944, allocations: 299.9 kB / 1.047 GB, free: 8.301 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.1945, allocations: 79.58 kB / 1.047 GB, free: 8.223 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.1949, allocations: 273.1 kB / 1.047 GB, free: 7.945 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1949, allocations: 4 kB / 1.047 GB, free: 7.941 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1949, allocations: 0 / 1.047 GB, free: 7.941 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002639/0.1951, allocations: 288.5 kB / 1.047 GB, free: 7.629 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1961, allocations: 0.9001 MB / 1.048 GB, free: 6.664 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1961, allocations: 4.188 kB / 1.048 GB, free: 6.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1964, allocations: 79.91 kB / 1.048 GB, free: 6.582 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1964, allocations: 7.984 kB / 1.048 GB, free: 6.574 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.1964, allocations: 8 kB / 1.048 GB, free: 6.566 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1964, allocations: 3.938 kB / 1.048 GB, free: 6.562 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1964, allocations: 4 kB / 1.048 GB, free: 6.559 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.197, allocations: 0.5014 MB / 1.049 GB, free: 6.012 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1971, allocations: 99.52 kB / 1.049 GB, free: 5.914 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.1971, allocations: 11.98 kB / 1.049 GB, free: 5.902 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1973, allocations: 27.89 kB / 1.049 GB, free: 5.875 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.1974, allocations: 19.95 kB / 1.049 GB, free: 5.855 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1974, allocations: 19.98 kB / 1.049 GB, free: 5.836 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002823/0.1977, allocations: 359 kB / 1.049 GB, free: 5.492 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1977, allocations: 0 / 1.049 GB, free: 5.492 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000658/0.1984, allocations: 359.3 kB / 1.05 GB, free: 5.141 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0002852/0.1986, allocations: 147.1 kB / 1.05 GB, free: 4.988 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.1992, allocations: 391.8 kB / 1.05 GB, free: 4.598 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1992, allocations: 320 / 1.05 GB, free: 4.598 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1993, allocations: 108.1 kB / 1.05 GB, free: 4.488 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.2002, allocations: 324 kB / 1.051 GB, free: 4.176 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.202, allocations: 1.175 MB / 1.052 GB, free: 2.938 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2021, allocations: 170.6 kB / 1.052 GB, free: 2.75 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003916/0.2025, allocations: 168.9 kB / 1.052 GB, free: 2.586 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2026, allocations: 52.44 kB / 1.052 GB, free: 2.535 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.2026, allocations: 0 / 1.052 GB, free: 2.535 MB / 1.01 GB Notification: Performance of Templates: time 0.5588/0.7615, allocations: 12.18 MB / 1.064 GB, free: 75.99 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.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: 7.005816109944135]