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.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 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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.686/2.686, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001452/0.001453, allocations: 180.3 kB / 325.6 MB, free: 2.805 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.633/2.633, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001158/0.001157, allocations: 100.3 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006751/0.0006753, allocations: 13.78 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2278, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002005/0.2299, allocations: 1.328 MB / 0.9002 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2332, allocations: 1.776 MB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2334, allocations: 3.938 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2334, allocations: 7.922 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.2337, allocations: 51.83 kB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.235, allocations: 369.2 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.2353, allocations: 175.6 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.749e-05/0.2354, allocations: 13.67 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.2356, allocations: 139.6 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2359, allocations: 143.5 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.236, allocations: 12 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008624/0.2368, allocations: 275.7 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.2369, allocations: 55.83 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.237, allocations: 61.64 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.2378, allocations: 379.3 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2378, allocations: 0 / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2378, allocations: 4 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2378, allocations: 0 / 0.9035 GB, free: 60.63 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.001819/0.2396, allocations: 0.6224 MB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2397, allocations: 12.03 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.2398, allocations: 23.77 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2399, allocations: 189 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.2401, allocations: 126.8 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.2402, allocations: 16 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.2407, allocations: 251.6 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2408, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.2408, allocations: 7.984 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2408, allocations: 8 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.2412, allocations: 123.7 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2423, allocations: 0.9473 MB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.2447, allocations: 487.6 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.2448, allocations: 19.92 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000576/0.2453, allocations: 304.7 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 3.397e-06/0.2454, allocations: 0 / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.00118/0.2465, allocations: 406.4 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.2467, allocations: 354.1 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2469, allocations: 171.9 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.2469, allocations: 41.69 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.247, allocations: 101.5 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2471, allocations: 126.4 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.2472, allocations: 11.94 kB / 0.9077 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.2473, allocations: 330.8 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.2477, allocations: 105 kB / 0.9082 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.2482, allocations: 176.4 kB / 0.9083 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.2486, allocations: 115.9 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2487, allocations: 3.938 kB / 0.9084 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001137/0.2498, allocations: 361.4 kB / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.2499, allocations: 9.984 kB / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2499, allocations: 4.094 kB / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.2499, allocations: 7.938 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.2506, allocations: 83.81 kB / 0.9089 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.2506, allocations: 7.984 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.2512, allocations: 63.56 kB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.2513, allocations: 19.98 kB / 0.909 GB, free: 54.53 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.0002116/0.2515, allocations: 158.1 kB / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.2516, allocations: 23.8 kB / 0.9091 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.2526, allocations: 365.8 kB / 0.9095 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.2527, allocations: 12 kB / 0.9095 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2527, allocations: 4 kB / 0.9095 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.2527, allocations: 7.984 kB / 0.9095 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.2532, allocations: 345.1 kB / 0.9098 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.2532, allocations: 4.438 kB / 0.9098 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.2538, allocations: 75.83 kB / 0.9099 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.2538, allocations: 8 kB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.2539, allocations: 20 kB / 0.9099 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.2539, allocations: 11.94 kB / 0.91 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2539, allocations: 4 kB / 0.91 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2549, allocations: 0.6097 MB / 0.9106 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.2551, allocations: 148.6 kB / 0.9107 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.2552, allocations: 16 kB / 0.9107 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.2557, allocations: 39.97 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.2558, allocations: 55.83 kB / 0.9108 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.2559, allocations: 23.98 kB / 0.9108 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001266/0.256, allocations: 127.8 kB / 0.9109 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2561, allocations: 0 / 0.9109 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008376/0.2569, allocations: 207.7 kB / 0.9111 GB, free: 52.1 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.000736/0.2577, allocations: 314.6 kB / 0.9114 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2587, allocations: 316 kB / 0.9117 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2587, allocations: 0 / 0.9117 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.2592, allocations: 185.2 kB / 0.9119 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2595, allocations: 20.17 kB / 0.9119 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2608, allocations: 0.6401 MB / 0.9126 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.2611, allocations: 0.7652 MB / 0.9133 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000407/0.2615, allocations: 53.91 kB / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.2617, allocations: 47.36 kB / 0.9134 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.803e-06/0.2617, allocations: 0 / 0.9134 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.01305/0.2748, allocations: 5.032 MB / 0.9183 GB, free: 44.67 MB / 0.6042 GB