Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.709/2.709, allocations: 287.9 MB / 302.9 MB, free: 8.305 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.001401/0.001401, allocations: 185.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.151/2.151, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001031/0.00103, allocations: 100.3 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004561, allocations: 14.23 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, 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.SunRiseSetNegativeStartTime): time 0.0008341/0.1565, allocations: 0.5833 MB / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1592, allocations: 2.342 MB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.1593, allocations: 0 / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.1593, allocations: 3.938 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1595, allocations: 55.83 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.1604, allocations: 367 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1607, allocations: 179.6 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.1607, allocations: 17.95 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1609, allocations: 135.6 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.1611, allocations: 139.6 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.1612, allocations: 12 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.1617, allocations: 279.7 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.1618, allocations: 51.86 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.1619, allocations: 65.56 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.1624, allocations: 375 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.54e-06/0.1625, allocations: 8 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.78e-06/0.1625, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.303e-06/0.1625, allocations: 0 / 0.9832 GB, free: 23.58 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.001249/0.1637, allocations: 0.6157 MB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1638, allocations: 16.02 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.1639, allocations: 23.72 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.164, allocations: 199.9 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1641, allocations: 122.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.1642, allocations: 20 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.1646, allocations: 247.5 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1646, allocations: 4 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1646, allocations: 7.938 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-06/0.1647, allocations: 15.98 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.165, allocations: 119.8 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.1658, allocations: 0.9511 MB / 0.9855 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.1673, allocations: 495.6 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.1674, allocations: 15.94 kB / 0.986 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.1679, allocations: 304.2 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 3.896e-06/0.1679, allocations: 0 / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.000952/0.1689, allocations: 404.9 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.169, allocations: 358 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1691, allocations: 175.2 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.1692, allocations: 41.69 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.1693, allocations: 101.5 kB / 0.9873 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/0.1694, allocations: 114.5 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1694, allocations: 12 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.1695, allocations: 326.8 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1698, allocations: 109 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.1702, allocations: 180.4 kB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.1705, allocations: 116.6 kB / 0.9881 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.821e-06/0.1706, allocations: 3.938 kB / 0.9881 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009136/0.1715, allocations: 368.9 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1715, allocations: 5.719 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.424e-06/0.1715, allocations: 4 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1716, allocations: 11.95 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.172, allocations: 79.81 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1721, allocations: 4 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.1724, allocations: 59.66 kB / 0.9886 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.1725, allocations: 19.98 kB / 0.9887 GB, free: 17.46 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.0001693/0.1727, allocations: 153.8 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.1728, allocations: 27.72 kB / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.1736, allocations: 367.2 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1736, allocations: 11.95 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.1736, allocations: 4 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.1736, allocations: 8.172 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.174, allocations: 349.1 kB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-06/0.1741, allocations: 4 kB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1744, allocations: 75.81 kB / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.1744, allocations: 8 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.1745, allocations: 16 kB / 0.9896 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.53e-06/0.1745, allocations: 11.97 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.703e-06/0.1745, allocations: 7.953 kB / 0.9897 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.1753, allocations: 0.602 MB / 0.9902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1755, allocations: 152.5 kB / 0.9904 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.1756, allocations: 16 kB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.1759, allocations: 47.91 kB / 0.9904 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1761, allocations: 48.27 kB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.1761, allocations: 23.98 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001078/0.1762, allocations: 127.2 kB / 0.9906 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.24e-07/0.1763, allocations: 0 / 0.9906 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000696/0.177, allocations: 211.7 kB / 0.9908 GB, free: 15.02 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.0005715/0.1775, allocations: 320.9 kB / 0.9911 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008322/0.1784, allocations: 311.7 kB / 0.9914 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.815e-06/0.1784, allocations: 0 / 0.9914 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.1788, allocations: 183.6 kB / 0.9916 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.179, allocations: 24.17 kB / 0.9916 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1801, allocations: 0.6322 MB / 0.9923 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1804, allocations: 0.7652 MB / 0.993 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.1807, allocations: 58.67 kB / 0.9931 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1809, allocations: 43.41 kB / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.628e-06/0.1809, allocations: 4 kB / 0.9931 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.01119/0.1921, allocations: 5.033 MB / 0.998 GB, free: 7.605 MB / 0.6198 GB