Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.685/2.685, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001426/0.001426, allocations: 188.1 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.24/2.24, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001053/0.001053, allocations: 97.31 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004714, allocations: 14.94 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1722, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0008161/0.1731, allocations: 0.5833 MB / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1757, allocations: 2.342 MB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.1758, allocations: 0 / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.1759, allocations: 7.875 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1761, allocations: 47.89 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.177, allocations: 371 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1773, allocations: 175.7 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.1773, allocations: 17.95 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.1775, allocations: 135.6 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1777, allocations: 139.5 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.1778, allocations: 12 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005898/0.1784, allocations: 279.7 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1785, allocations: 55.78 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.1785, allocations: 61.64 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.1791, allocations: 375 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.438e-06/0.1791, allocations: 4 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.966e-06/0.1791, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.909e-06/0.1791, allocations: 0 / 0.9832 GB, free: 23.59 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001254/0.1804, allocations: 0.6147 MB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1804, allocations: 19.95 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.1805, allocations: 23.72 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.1806, allocations: 190.7 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.1808, allocations: 126.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.1809, allocations: 20 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1813, allocations: 251.4 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1813, allocations: 8 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.1813, allocations: 7.984 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1813, allocations: 8 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.1816, allocations: 119.7 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.1825, allocations: 0.9511 MB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.1841, allocations: 499.6 kB / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.1842, allocations: 12 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.1846, allocations: 296.2 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.839e-06/0.1847, allocations: 7.922 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0009702/0.1856, allocations: 409.7 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.1857, allocations: 350.1 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1859, allocations: 175.7 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.186, allocations: 49.69 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.186, allocations: 104.9 kB / 0.9873 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1862, allocations: 110.5 kB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.1862, allocations: 12 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.1863, allocations: 330.8 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.1866, allocations: 109 kB / 0.9879 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.187, allocations: 176.4 kB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1873, allocations: 111.9 kB / 0.9881 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.826e-06/0.1874, allocations: 0 / 0.9881 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009198/0.1883, allocations: 373.9 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1883, allocations: 11.94 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.34e-06/0.1883, allocations: 4 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1884, allocations: 7.953 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.1889, allocations: 75.88 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1889, allocations: 4 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.1893, allocations: 59.66 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.1893, allocations: 19.98 kB / 0.9887 GB, free: 17.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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 0.0001796/0.1895, allocations: 161.7 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.1896, allocations: 23.72 kB / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008255/0.1904, allocations: 365.9 kB / 0.9892 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.1905, allocations: 11.95 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.489e-06/0.1905, allocations: 4 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.1905, allocations: 7.984 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.1909, allocations: 345.1 kB / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.668e-06/0.1909, allocations: 4 kB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.1914, allocations: 72.33 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.76e-06/0.1914, allocations: 8 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.1914, allocations: 20 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.627e-06/0.1915, allocations: 15.92 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.053e-06/0.1915, allocations: 7.953 kB / 0.9897 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.1924, allocations: 0.5981 MB / 0.9902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.1926, allocations: 152.5 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.1927, allocations: 16 kB / 0.9904 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.193, allocations: 43.97 kB / 0.9904 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1932, allocations: 51.83 kB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.1932, allocations: 23.98 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001104/0.1934, allocations: 127.2 kB / 0.9906 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.23e-07/0.1934, allocations: 0 / 0.9906 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007038/0.1941, allocations: 207.8 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005506/0.1947, allocations: 321.1 kB / 0.9911 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007978/0.1955, allocations: 319.9 kB / 0.9914 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.985e-06/0.1955, allocations: 0 / 0.9914 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.1962, allocations: 175.7 kB / 0.9916 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.1966, allocations: 28.17 kB / 0.9916 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.198, allocations: 0.6331 MB / 0.9923 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1983, allocations: 0.7652 MB / 0.993 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.1986, allocations: 62.55 kB / 0.9931 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.1988, allocations: 43.41 kB / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.704e-06/0.1988, allocations: 0 / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.01122/0.21, allocations: 5.029 MB / 0.998 GB, free: 7.613 MB / 0.6198 GB