Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.721/2.721, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.00142/0.00142, allocations: 173.2 kB / 371.4 MB, free: 10.68 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.145/2.145, 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.001048/0.001048, allocations: 92.16 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 12.06 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008325/0.1585, allocations: 0.5794 MB / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1613, allocations: 2.35 MB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.787e-05/0.1614, allocations: 0 / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.1615, allocations: 7.875 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1617, allocations: 47.83 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1627, allocations: 371 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1629, allocations: 179.7 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.171e-05/0.163, allocations: 9.969 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1633, allocations: 135.6 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1635, allocations: 135.5 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.1635, allocations: 12 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.1642, allocations: 283.7 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1643, allocations: 51.8 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1644, allocations: 61.64 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.165, allocations: 379 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.423e-06/0.165, allocations: 0 / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.166e-06/0.165, allocations: 0 / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.49e-06/0.165, allocations: 0 / 0.9832 GB, free: 23.6 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.001247/0.1663, allocations: 0.62 MB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1663, allocations: 11.97 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.1664, allocations: 23.72 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1665, allocations: 191.8 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1667, allocations: 134.8 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.1667, allocations: 16 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.1671, allocations: 255.4 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1672, allocations: 3.984 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.1672, allocations: 8 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-06/0.1672, allocations: 4 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.1675, allocations: 123.7 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.1684, allocations: 0.9511 MB / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.17, allocations: 0.4918 MB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.17, allocations: 8 kB / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.1705, allocations: 304.1 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.193e-06/0.1705, allocations: 4 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0009615/0.1715, allocations: 401.6 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.1716, allocations: 354.6 kB / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1718, allocations: 179.2 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.1719, allocations: 41.7 kB / 0.9872 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.1719, allocations: 108.9 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.172, allocations: 110.5 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.1721, allocations: 8 kB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.1722, allocations: 330.8 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.1725, allocations: 105.1 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.1729, allocations: 184.4 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.1733, allocations: 111.9 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.956e-06/0.1733, allocations: 4 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009373/0.1742, allocations: 376.8 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1743, allocations: 8 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.28e-06/0.1743, allocations: 0 / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1743, allocations: 7.953 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.1748, allocations: 79.88 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1748, allocations: 4 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.1752, allocations: 59.66 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.1753, allocations: 19.98 kB / 0.9887 GB, free: 17.48 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.0001781/0.1755, allocations: 149.7 kB / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.1756, allocations: 31.7 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.1764, allocations: 363.2 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1764, allocations: 12.2 kB / 0.9892 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1764, allocations: 8 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.1765, allocations: 11.97 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1769, allocations: 349.1 kB / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.1769, allocations: 0 / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.1774, allocations: 75.91 kB / 0.9896 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.1774, allocations: 4 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.1775, allocations: 19.98 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/0.1775, allocations: 11.94 kB / 0.9896 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1775, allocations: 3.953 kB / 0.9896 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.1784, allocations: 0.6059 MB / 0.9902 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1786, allocations: 152.5 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.1787, allocations: 12 kB / 0.9904 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.1791, allocations: 43.97 kB / 0.9904 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.1792, allocations: 55.83 kB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.1793, allocations: 19.98 kB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001123/0.1794, allocations: 131.2 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.1794, allocations: 0 / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007334/0.1802, allocations: 212.2 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.000553/0.1807, allocations: 309 kB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008045/0.1816, allocations: 319.5 kB / 0.9914 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.974e-06/0.1816, allocations: 0 / 0.9914 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.1819, allocations: 184.2 kB / 0.9916 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1822, allocations: 24.17 kB / 0.9916 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1833, allocations: 0.6347 MB / 0.9923 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1835, allocations: 0.7691 MB / 0.993 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000379/0.1839, allocations: 54.92 kB / 0.9931 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1841, allocations: 39.42 kB / 0.9931 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.648e-06/0.1841, allocations: 0 / 0.9931 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.01111/0.1952, allocations: 5.016 MB / 0.998 GB, free: 7.629 MB / 0.6198 GB