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.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 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.412/2.412, 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.001493/0.001493, allocations: 176.2 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.672/2.672, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.00111/0.00111, allocations: 96.16 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006169/0.000617, allocations: 12.06 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002484/0.2302, allocations: 1.332 MB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.2343, allocations: 1.784 MB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2345, allocations: 3.938 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.008165/0.2427, allocations: 11.92 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.2431, allocations: 47.84 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.245, allocations: 367 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.2454, allocations: 179.6 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.2455, allocations: 13.67 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.2459, allocations: 139.6 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.2462, allocations: 131.6 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.2463, allocations: 12 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.2515, allocations: 283.7 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2516, allocations: 47.86 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2517, allocations: 57.64 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2528, allocations: 379.4 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2528, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.416e-06/0.2528, allocations: 4 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.2528, allocations: 3.938 kB / 0.9035 GB, free: 60.69 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.002369/0.2552, allocations: 0.6263 MB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2553, allocations: 8.031 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2554, allocations: 23.77 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.2556, allocations: 189 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.2558, allocations: 126.8 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.2559, allocations: 19.98 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.2566, allocations: 255.5 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2566, allocations: 3.938 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.2567, allocations: 8 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2567, allocations: 4 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.2573, allocations: 127.7 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.2588, allocations: 0.9512 MB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.2619, allocations: 483.6 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.262, allocations: 20.08 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008046/0.2629, allocations: 312.5 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.679e-06/0.2629, allocations: 0 / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001626/0.2645, allocations: 401 kB / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.2647, allocations: 350.1 kB / 0.9073 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2649, allocations: 171.9 kB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.265, allocations: 41.7 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.2651, allocations: 109.4 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2653, allocations: 110.5 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.2654, allocations: 15.94 kB / 0.9077 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.2655, allocations: 330.8 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.2661, allocations: 105.1 kB / 0.9081 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.2667, allocations: 180.3 kB / 0.9083 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.2674, allocations: 115.9 kB / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2674, allocations: 0 / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001632/0.2691, allocations: 365.8 kB / 0.9088 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.2691, allocations: 7.953 kB / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2691, allocations: 4 kB / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.2692, allocations: 4 kB / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/0.2701, allocations: 79.88 kB / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.2702, allocations: 7.938 kB / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.271, allocations: 63.56 kB / 0.9089 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.2711, allocations: 20.11 kB / 0.909 GB, free: 54.58 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.0002778/0.2714, allocations: 153.8 kB / 0.9091 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2715, allocations: 27.8 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2729, allocations: 367.1 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.2729, allocations: 16 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.273, allocations: 4 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.273, allocations: 4 kB / 0.9095 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.2737, allocations: 349.1 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.2737, allocations: 4.375 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.2745, allocations: 75.84 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.2745, allocations: 4 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.2746, allocations: 19.98 kB / 0.9099 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.2747, allocations: 11.89 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.2747, allocations: 4 kB / 0.91 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.2761, allocations: 0.6136 MB / 0.9106 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.2764, allocations: 148.6 kB / 0.9107 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2765, allocations: 16 kB / 0.9107 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.2771, allocations: 39.97 kB / 0.9107 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.2774, allocations: 55.83 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.2774, allocations: 23.98 kB / 0.9108 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001776/0.2776, allocations: 131.8 kB / 0.9109 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2777, allocations: 0 / 0.9109 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001187/0.2789, allocations: 203.7 kB / 0.9111 GB, free: 52.14 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.0009465/0.2798, allocations: 318 kB / 0.9114 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.2812, allocations: 311.6 kB / 0.9117 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.2812, allocations: 4 kB / 0.9117 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.2818, allocations: 184 kB / 0.9119 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2821, allocations: 22.22 kB / 0.9119 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2835, allocations: 0.6438 MB / 0.9126 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2837, allocations: 0.7652 MB / 0.9133 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.2842, allocations: 52.44 kB / 0.9134 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.2844, allocations: 43.41 kB / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.974e-06/0.2844, allocations: 0 / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.01294/0.2973, allocations: 5.023 MB / 0.9183 GB, free: 44.71 MB / 0.6042 GB