Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.607/2.607, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001433/0.001433, allocations: 177 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.046/2.046, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001052/0.001052, allocations: 97.84 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004622, allocations: 13.69 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1717, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00136/0.1731, allocations: 0.522 MB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1752, allocations: 0.9968 MB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.1753, allocations: 4 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1754, allocations: 11.88 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1756, allocations: 19.95 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.176, allocations: 63.86 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1762, allocations: 71.84 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1765, allocations: 37.38 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1766, allocations: 39.83 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1767, allocations: 43.83 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1768, allocations: 11.94 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.177, allocations: 43.97 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.1771, allocations: 27.91 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.1771, allocations: 45.58 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1775, allocations: 127.9 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.965e-06/0.1775, allocations: 0 / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.742e-06/0.1775, allocations: 0 / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.238e-06/0.1775, allocations: 4 kB / 0.9808 GB, free: 26.09 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001277/0.1788, allocations: 494.7 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1789, allocations: 12.02 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.179, allocations: 15.81 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1793, allocations: 202.8 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1794, allocations: 11.94 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.1794, allocations: 4 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1806, allocations: 206.6 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1806, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.1806, allocations: 12 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.1807, allocations: 8 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.1824, allocations: 255.8 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1842, allocations: 492.3 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009408/0.1852, allocations: 162.5 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1853, allocations: 3.984 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1853, allocations: 38.5 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.877e-06/0.1853, allocations: 0 / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002946/0.1883, allocations: 0.6264 MB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1884, allocations: 59.41 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1886, allocations: 143.7 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1887, allocations: 33.77 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.1887, allocations: 108.3 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.1889, allocations: 47.3 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.1889, allocations: 0 / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.189, allocations: 322.8 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000882/0.1899, allocations: 143.9 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/0.1908, allocations: 135.9 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000858/0.1917, allocations: 146.5 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1917, allocations: 0 / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001883/0.1936, allocations: 337.2 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1936, allocations: 7.984 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1937, allocations: 3.938 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.1937, allocations: 7.953 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.1942, allocations: 47.95 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.599e-06/0.1943, allocations: 0 / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.1947, allocations: 51.8 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.1947, allocations: 3.984 kB / 0.9848 GB, free: 21.77 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 0.0001745/0.1949, allocations: 133.8 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1951, allocations: 7.906 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.1951, allocations: 12.78 kB / 0.9849 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/0.1952, allocations: 19.94 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.638e-06/0.1952, allocations: 0 / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.667e-06/0.1953, allocations: 0 / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.1958, allocations: 233.4 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.989e-06/0.1958, allocations: 0 / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.1963, allocations: 47.95 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.287e-06/0.1964, allocations: 0 / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.1964, allocations: 4 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.1964, allocations: 0 / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-06/0.1964, allocations: 3.953 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.1984, allocations: 427.2 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.1984, allocations: 92.86 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.1985, allocations: 0 / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.199, allocations: 47.95 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.1992, allocations: 15.92 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.1992, allocations: 7.953 kB / 0.9858 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001289/0.1994, allocations: 110.3 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.086e-06/0.1994, allocations: 0 / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008024/0.2002, allocations: 40 kB / 0.9859 GB, free: 20.5 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0003293/0.2006, allocations: 123.2 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.2025, allocations: 299.8 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2025, allocations: 4 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.2035, allocations: 167.8 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.2041, allocations: 15.98 kB / 0.9865 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2052, allocations: 365.8 kB / 0.9868 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2055, allocations: 0.724 MB / 0.9875 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.2057, allocations: 19.97 kB / 0.9876 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.2058, allocations: 11.44 kB / 0.9876 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.914e-06/0.2058, allocations: 0 / 0.9876 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.008437/0.2143, allocations: 1.52 MB / 0.9891 GB, free: 17.22 MB / 0.6198 GB