Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.574/2.574, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 179.5 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.966/2.966, allocations: 205.4 MB / 0.5766 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 95.19 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006358, allocations: 15.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2181, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001921/0.22, allocations: 1.332 MB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.2233, allocations: 1.788 MB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2235, allocations: 4 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.2235, allocations: 11.86 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.2238, allocations: 47.84 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.2251, allocations: 369.4 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.2255, allocations: 175.7 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.2256, allocations: 13.67 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.2259, allocations: 135.6 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.2262, allocations: 143.5 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.2262, allocations: 16 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000838/0.2271, allocations: 271.7 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.2272, allocations: 59.78 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.2272, allocations: 57.64 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.2281, allocations: 375.1 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2281, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2281, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2281, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 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.001927/0.2301, allocations: 0.6224 MB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2301, allocations: 8.031 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2302, allocations: 31.75 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2304, allocations: 192.8 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.2306, allocations: 122.8 kB / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.2306, allocations: 24 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.2312, allocations: 247.6 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2312, allocations: 0 / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.2312, allocations: 11.98 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2313, allocations: 4 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.2316, allocations: 123.7 kB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2328, allocations: 0.9473 MB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.2354, allocations: 499.5 kB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.2355, allocations: 4 kB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/0.2361, allocations: 316.7 kB / 0.9066 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.008e-06/0.2361, allocations: 0 / 0.9066 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001187/0.2373, allocations: 393.9 kB / 0.907 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.2374, allocations: 362.5 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.2377, allocations: 172 kB / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.2377, allocations: 41.7 kB / 0.9075 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.2378, allocations: 104.9 kB / 0.9076 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2379, allocations: 110.4 kB / 0.9077 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.238, allocations: 12 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.2381, allocations: 330.8 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.2385, allocations: 113 kB / 0.9082 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.239, allocations: 172.4 kB / 0.9083 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.2394, allocations: 111.9 kB / 0.9084 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2395, allocations: 4 kB / 0.9084 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001187/0.2407, allocations: 369.7 kB / 0.9088 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.2407, allocations: 9.984 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.2407, allocations: 4.188 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.2408, allocations: 4 kB / 0.9088 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.2415, allocations: 75.88 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.301e-05/0.2416, allocations: 4 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.2422, allocations: 71.55 kB / 0.9089 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.2423, allocations: 24.05 kB / 0.909 GB, free: 55.01 MB / 0.6042 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.000242/0.2425, allocations: 153.7 kB / 0.9091 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.355e-05/0.2426, allocations: 23.81 kB / 0.9091 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2437, allocations: 365.8 kB / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.2438, allocations: 8 kB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.2438, allocations: 4 kB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.2438, allocations: 7.984 kB / 0.9095 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.2444, allocations: 353.1 kB / 0.9098 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2444, allocations: 4 kB / 0.9098 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.245, allocations: 71.89 kB / 0.9099 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.245, allocations: 4 kB / 0.9099 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.2451, allocations: 19.98 kB / 0.9099 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.2451, allocations: 11.89 kB / 0.9099 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2451, allocations: 4 kB / 0.91 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2463, allocations: 0.61 MB / 0.9105 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.2465, allocations: 152.6 kB / 0.9107 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.2466, allocations: 16 kB / 0.9107 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.2471, allocations: 39.97 kB / 0.9107 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2473, allocations: 56.2 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.2474, allocations: 23.98 kB / 0.9108 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001457/0.2475, allocations: 127.8 kB / 0.9109 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2476, allocations: 0 / 0.9109 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008803/0.2484, allocations: 211.7 kB / 0.9111 GB, free: 52.58 MB / 0.6042 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.0007495/0.2492, allocations: 316 kB / 0.9114 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.2503, allocations: 315.5 kB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.2504, allocations: 4 kB / 0.9118 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.2509, allocations: 179.7 kB / 0.9119 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.2512, allocations: 24.17 kB / 0.9119 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2525, allocations: 0.6321 MB / 0.9126 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.2528, allocations: 0.7691 MB / 0.9133 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004088/0.2532, allocations: 58.42 kB / 0.9134 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.2534, allocations: 51.41 kB / 0.9134 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.2534, allocations: 0 / 0.9134 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.01315/0.2666, allocations: 5.026 MB / 0.9183 GB, free: 45.15 MB / 0.6042 GB