Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadModel(Buildings): time 4.135/4.135, allocations: 464.7 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.165e-05, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 107.2 MB / 0.6778 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7633/0.9856, allocations: 133.6 MB / 0.8082 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.9859, allocations: 74.41 kB / 0.8083 GB, free: 12.45 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.04609/1.032, allocations: 10.31 MB / 0.8183 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.524e-06/1.032, allocations: 3.875 kB / 0.8183 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.032, allocations: 3.844 kB / 0.8183 GB, free: 11.58 MB / 0.6355 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.001265/1.033, allocations: 0.6055 MB / 0.8189 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.033, allocations: 7.656 kB / 0.8189 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/1.033, allocations: 26.36 kB / 0.819 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.034, allocations: 189.8 kB / 0.8191 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.034, allocations: 124.4 kB / 0.8193 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/1.034, allocations: 21.05 kB / 0.8193 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/1.034, allocations: 241.4 kB / 0.8195 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.034, allocations: 0 / 0.8195 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/1.034, allocations: 11.22 kB / 0.8195 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-06/1.034, allocations: 3.906 kB / 0.8195 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/1.035, allocations: 115.6 kB / 0.8196 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/1.036, allocations: 0.9507 MB / 0.8206 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/1.037, allocations: 483.8 kB / 0.821 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/1.038, allocations: 151.4 kB / 0.8212 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/1.038, allocations: 15.58 kB / 0.8212 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004617/1.038, allocations: 308.5 kB / 0.8215 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 4.344e-06/1.038, allocations: 0 / 0.8215 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.0008434/1.039, allocations: 302.1 kB / 0.8218 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/1.039, allocations: 360.3 kB / 0.8221 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/1.039, allocations: 155 kB / 0.8223 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/1.039, allocations: 44.11 kB / 0.8223 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/1.04, allocations: 102.5 kB / 0.8224 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.04, allocations: 118 kB / 0.8225 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/1.04, allocations: 10.53 kB / 0.8225 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/1.04, allocations: 332.7 kB / 0.8228 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/1.04, allocations: 91.12 kB / 0.8229 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/1.04, allocations: 172.3 kB / 0.8231 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/1.041, allocations: 105.8 kB / 0.8232 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.067e-06/1.041, allocations: 3.844 kB / 0.8232 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008078/1.041, allocations: 341.7 kB / 0.8235 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.042, allocations: 3.844 kB / 0.8235 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.304e-06/1.042, allocations: 3.75 kB / 0.8235 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.042, allocations: 3.781 kB / 0.8235 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/1.042, allocations: 85.27 kB / 0.8236 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.042, allocations: 6.375 kB / 0.8236 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/1.043, allocations: 59.19 kB / 0.8237 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/1.043, allocations: 20.89 kB / 0.8237 GB, free: 7.957 MB / 0.6355 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 () * 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.000154/1.043, allocations: 135.8 kB / 0.8238 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/1.043, allocations: 25.98 kB / 0.8239 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008926/1.044, allocations: 356.9 kB / 0.8242 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.044, allocations: 7.781 kB / 0.8242 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.87e-06/1.044, allocations: 3.812 kB / 0.8242 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.044, allocations: 12.14 kB / 0.8242 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/1.044, allocations: 350 kB / 0.8246 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.206e-06/1.044, allocations: 7.75 kB / 0.8246 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/1.045, allocations: 77.42 kB / 0.8246 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.045, allocations: 11.66 kB / 0.8246 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/1.045, allocations: 14.88 kB / 0.8247 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/1.045, allocations: 11.8 kB / 0.8247 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.016e-06/1.045, allocations: 3.875 kB / 0.8247 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009202/1.046, allocations: 0.5959 MB / 0.8253 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/1.046, allocations: 150.5 kB / 0.8254 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/1.046, allocations: 17.12 kB / 0.8254 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.047, allocations: 38.75 kB / 0.8255 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.047, allocations: 46.98 kB / 0.8255 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/1.047, allocations: 27.39 kB / 0.8255 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001517/1.047, allocations: 128.5 kB / 0.8256 GB, free: 22.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.73e-07/1.047, allocations: 7.781 kB / 0.8257 GB, free: 22.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008714/1.048, allocations: 209.2 kB / 0.8259 GB, free: 22.74 MB / 0.6511 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) * 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.0007233/1.049, allocations: 323.1 kB / 0.8262 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000749/1.049, allocations: 293.5 kB / 0.8264 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.049, allocations: 0 / 0.8264 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/1.05, allocations: 177.4 kB / 0.8266 GB, free: 22.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.05, allocations: 14.66 kB / 0.8266 GB, free: 22.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/1.051, allocations: 447.8 kB / 0.827 GB, free: 22.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/1.052, allocations: 0.7664 MB / 0.8278 GB, free: 21.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003622/1.052, allocations: 58.58 kB / 0.8279 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/1.052, allocations: 42.33 kB / 0.8279 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.698e-06/1.052, allocations: 0 / 0.8279 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.01211/1.064, allocations: 4.725 MB / 0.8325 GB, free: 19.04 MB / 0.6511 GB