Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.793/2.793, allocations: 287.9 MB / 302.9 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 182.9 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 101 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 13.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.000733/0.1811, allocations: 429.2 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000823/0.182, allocations: 0.7949 MB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.182, allocations: 0 / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1821, allocations: 0 / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.1821, allocations: 7.922 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.803e-05/0.1822, allocations: 15.92 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.1823, allocations: 23.97 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.1824, allocations: 8 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.1824, allocations: 19.91 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.1825, allocations: 23.91 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1825, allocations: 4 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-06/0.1825, allocations: 0 / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1825, allocations: 4 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.1826, allocations: 29.7 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.56e-05/0.1826, allocations: 23.94 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.739e-06/0.1827, allocations: 0 / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.133e-06/0.1827, allocations: 0 / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.603e-06/0.1827, allocations: 0 / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004108/0.1831, allocations: 373.7 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1831, allocations: 8.031 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1832, allocations: 3.906 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.897e-05/0.1833, allocations: 174.9 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1833, allocations: 0 / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1833, allocations: 8 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1836, allocations: 73.66 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.601e-06/0.1836, allocations: 7.984 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1836, allocations: 4 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-06/0.1836, allocations: 0 / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.184, allocations: 83.94 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1843, allocations: 272.8 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1845, allocations: 66.53 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1846, allocations: 7.938 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1846, allocations: 30.56 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.168e-06/0.1846, allocations: 4 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005949/0.1852, allocations: 165.5 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1853, allocations: 51.41 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.1853, allocations: 109.8 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1854, allocations: 33.7 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1854, allocations: 80.14 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1854, allocations: 7.906 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-06/0.1855, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.1855, allocations: 326.7 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1857, allocations: 39.97 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1859, allocations: 39.97 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.186, allocations: 47.95 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-06/0.186, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003723/0.1864, allocations: 125.5 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1865, allocations: 4 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1865, allocations: 0 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1865, allocations: 336 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1866, allocations: 23.98 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1867, allocations: 3.984 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.1868, allocations: 19.98 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-06/0.1868, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.1869, allocations: 113.8 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1869, allocations: 4 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.1869, allocations: 15.89 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1869, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.543e-06/0.187, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-06/0.187, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1871, allocations: 181.4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-06/0.1872, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1873, allocations: 19.98 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.1873, allocations: 4 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.91e-06/0.1873, allocations: 0 / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1873, allocations: 0 / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-06/0.1873, allocations: 0 / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.1877, allocations: 223.4 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.1878, allocations: 85.11 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1878, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.188, allocations: 19.98 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.188, allocations: 3.984 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-06/0.188, allocations: 0 / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.1881, allocations: 91.22 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.81e-07/0.1881, allocations: 0 / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003035/0.1884, allocations: 8 kB / 0.9829 GB, free: 23.55 MB / 0.6198 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.1885, allocations: 99.23 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.1889, allocations: 99.8 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.003e-06/0.1889, allocations: 8 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.1891, allocations: 39.97 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1894, allocations: 11.95 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.1897, allocations: 132.6 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.1898, allocations: 0.6848 MB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.1899, allocations: 0 / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1899, allocations: 7.438 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.581e-06/0.1899, allocations: 0 / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.002736/0.1927, allocations: 0.5265 MB / 0.9845 GB, free: 21.89 MB / 0.6198 GB