Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001062/0.001062, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001244/0.001244, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.812/1.812, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 1.094 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.781e-05, allocations: 3.219 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1577/0.1577, allocations: 180.1 MB / 0.963 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006173/0.1639, allocations: 4.916 MB / 0.9678 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004624/0.1644, allocations: 43.62 kB / 0.9678 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009058/0.1653, allocations: 417.2 kB / 0.9682 GB, free: 2.773 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1676, allocations: 1.508 MB / 0.9697 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1689, allocations: 0.8257 MB / 0.9705 GB, free: 440 kB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.1705, allocations: 1.898 MB / 0.9723 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.171, allocations: 493.1 kB / 0.9728 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.1723, allocations: 1.133 MB / 0.9739 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.1731, allocations: 0.5224 MB / 0.9744 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.1731, allocations: 60 kB / 0.9745 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.1746, allocations: 1.184 MB / 0.9756 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.1748, allocations: 291.1 kB / 0.9759 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1751, allocations: 275.4 kB / 0.9762 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1763, allocations: 1.156 MB / 0.9773 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1763, allocations: 4 kB / 0.9773 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1763, allocations: 4 kB / 0.9773 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1763, allocations: 0 / 0.9773 GB, free: 9.41 MB / 0.9323 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.001198/0.1775, allocations: 1.148 MB / 0.9784 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1775, allocations: 12.03 kB / 0.9784 GB, free: 8.211 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.1784, allocations: 274.9 kB / 0.9787 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.1791, allocations: 0.5824 MB / 0.9793 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.1792, allocations: 36.94 kB / 0.9793 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.1792, allocations: 52 kB / 0.9794 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.1798, allocations: 469.4 kB / 0.9798 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1798, allocations: 0 / 0.9798 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1798, allocations: 20 kB / 0.9798 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1799, allocations: 17 kB / 0.9798 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1802, allocations: 173.9 kB / 0.98 GB, free: 6.535 MB / 0.9323 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.001443/0.1816, allocations: 1.234 MB / 0.9812 GB, free: 5.258 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.182, allocations: 210 kB / 0.9814 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1821, allocations: 92.2 kB / 0.9815 GB, free: 4.949 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.1823, allocations: 48.25 kB / 0.9815 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.1823, allocations: 41.67 kB / 0.9816 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.1823, allocations: 0 / 0.9816 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.0005758/0.1829, allocations: 323.3 kB / 0.9819 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1829, allocations: 59.34 kB / 0.9819 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1833, allocations: 498.7 kB / 0.9824 GB, free: 3.957 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1833, allocations: 33.7 kB / 0.9825 GB, free: 3.918 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1835, allocations: 367.2 kB / 0.9828 GB, free: 3.555 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/0.1835, allocations: 123 kB / 0.9829 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.1836, allocations: 79.62 kB / 0.983 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1838, allocations: 0.543 MB / 0.9835 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.1839, allocations: 52.97 kB / 0.9836 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1841, allocations: 312.5 kB / 0.9839 GB, free: 2.363 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1843, allocations: 164 kB / 0.984 GB, free: 2.188 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1843, allocations: 4.062 kB / 0.984 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003313/0.1846, allocations: 282 kB / 0.9843 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1846, allocations: 4 kB / 0.9843 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1846, allocations: 4 kB / 0.9843 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1846, allocations: 0 / 0.9843 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1848, allocations: 71.91 kB / 0.9844 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1848, allocations: 3.984 kB / 0.9844 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.185, allocations: 23.89 kB / 0.9844 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.185, allocations: 12 kB / 0.9844 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001553/0.1852, allocations: 178.8 kB / 0.9846 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002491/0.1854, allocations: 303.7 kB / 0.9849 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001916/0.1856, allocations: 166.5 kB / 0.985 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.1856, allocations: 0 / 0.985 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000297/0.1859, allocations: 273.2 kB / 0.9853 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.1859, allocations: 6.188 kB / 0.9853 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.1859, allocations: 0 / 0.9853 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.1859, allocations: 4 kB / 0.9853 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1861, allocations: 75.98 kB / 0.9854 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1861, allocations: 4 kB / 0.9854 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1863, allocations: 23.88 kB / 0.9854 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1863, allocations: 16 kB / 0.9854 GB, free: 0.6602 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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.0001052/0.1864, allocations: 287.9 kB / 0.9857 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.1865, allocations: 71.62 kB / 0.9858 GB, free: 308 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.1868, allocations: 260 kB / 0.986 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1868, allocations: 4 kB / 0.986 GB, free: 40 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1868, allocations: 0 / 0.986 GB, free: 40 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002448/0.187, allocations: 284.3 kB / 0.9863 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.1879, allocations: 0.8816 MB / 0.9871 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1879, allocations: 0 / 0.9871 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.1881, allocations: 83.89 kB / 0.9872 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.1881, allocations: 4 kB / 0.9872 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.1882, allocations: 11.98 kB / 0.9872 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1882, allocations: 16.06 kB / 0.9873 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1882, allocations: 0 / 0.9873 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.1887, allocations: 0.4975 MB / 0.9877 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1888, allocations: 99.52 kB / 0.9878 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1888, allocations: 8 kB / 0.9878 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.189, allocations: 23.92 kB / 0.9879 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.1891, allocations: 24.02 kB / 0.9879 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1891, allocations: 16 kB / 0.9879 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000213/0.1893, allocations: 326.8 kB / 0.9882 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 4 kB / 0.9882 GB, free: 13.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004966/0.1898, allocations: 339.3 kB / 0.9885 GB, free: 13.3 MB / 0.948 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.0002426/0.19, allocations: 179 kB / 0.9887 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.1904, allocations: 292.9 kB / 0.989 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1904, allocations: 0 / 0.989 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1906, allocations: 107.5 kB / 0.9891 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.1914, allocations: 332.5 kB / 0.9894 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1928, allocations: 1.108 MB / 0.9905 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.1929, allocations: 166.3 kB / 0.9907 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003068/0.1932, allocations: 152.7 kB / 0.9908 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.1933, allocations: 48.48 kB / 0.9909 GB, free: 10.85 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/0.1933, allocations: 0 / 0.9909 GB, free: 10.85 MB / 0.948 GB Notification: Performance of Templates: time 0.01358/0.2069, allocations: 11.6 MB / 1.002 GB, free: 15.55 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.46387764508836]