Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004259/0.004263, allocations: 231.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001193/0.001193, allocations: 172.1 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.984/3.984, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.308/4.308, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006649/0.0006653, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.184, allocations: 98.72 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.787/0.9711, allocations: 126.3 MB / 1.228 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.9714, allocations: 72.09 kB / 1.228 GB, free: 27.29 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57: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.05186/1.023, allocations: 10.32 MB / 1.238 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.717e-06/1.023, allocations: 0 / 1.238 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.139e-05/1.023, allocations: 8.625 kB / 1.238 GB, free: 21.05 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.00202/1.025, allocations: 0.6384 MB / 1.239 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.025, allocations: 8.031 kB / 1.239 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/1.026, allocations: 21.53 kB / 1.239 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.026, allocations: 193.3 kB / 1.239 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/1.026, allocations: 128.9 kB / 1.239 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/1.026, allocations: 15.5 kB / 1.239 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/1.027, allocations: 251.9 kB / 1.239 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.027, allocations: 4 kB / 1.239 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/1.027, allocations: 3.062 kB / 1.239 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.027, allocations: 4.719 kB / 1.239 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/1.027, allocations: 124.4 kB / 1.24 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.028, allocations: 0.955 MB / 1.24 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/1.031, allocations: 497.8 kB / 1.241 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/1.031, allocations: 152 kB / 1.241 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/1.031, allocations: 7.188 kB / 1.241 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005774/1.032, allocations: 305.8 kB / 1.241 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 3.616e-06/1.032, allocations: 3 kB / 1.241 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001177/1.033, allocations: 400.8 kB / 1.242 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.033, allocations: 360.5 kB / 1.242 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/1.033, allocations: 174.2 kB / 1.242 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/1.033, allocations: 40.39 kB / 1.242 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/1.033, allocations: 107.2 kB / 1.242 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.033, allocations: 112.5 kB / 1.242 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/1.033, allocations: 16.62 kB / 1.243 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004809/1.034, allocations: 335.2 kB / 1.243 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/1.034, allocations: 108.6 kB / 1.243 GB, free: 32.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/1.035, allocations: 174.4 kB / 1.243 GB, free: 32.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/1.035, allocations: 113.3 kB / 1.243 GB, free: 31.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.035, allocations: 6.844 kB / 1.243 GB, free: 31.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001139/1.037, allocations: 358 kB / 1.244 GB, free: 31.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.037, allocations: 8 kB / 1.244 GB, free: 31.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.037, allocations: 1.641 kB / 1.244 GB, free: 31.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/1.037, allocations: 8.891 kB / 1.244 GB, free: 31.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.037, allocations: 86.75 kB / 1.244 GB, free: 31.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.037, allocations: 7.438 kB / 1.244 GB, free: 31.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/1.038, allocations: 51.44 kB / 1.244 GB, free: 31.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/1.038, allocations: 24.86 kB / 1.244 GB, free: 31.5 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 () * 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.0002576/1.038, allocations: 172.2 kB / 1.244 GB, free: 31.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/1.038, allocations: 19.81 kB / 1.244 GB, free: 31.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/1.039, allocations: 360.9 kB / 1.244 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.039, allocations: 11.95 kB / 1.244 GB, free: 31.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.039, allocations: 4 kB / 1.244 GB, free: 31.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.039, allocations: 7.984 kB / 1.244 GB, free: 31.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/1.04, allocations: 344.4 kB / 1.245 GB, free: 30.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.04, allocations: 8.172 kB / 1.245 GB, free: 30.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/1.041, allocations: 75.16 kB / 1.245 GB, free: 30.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.041, allocations: 4 kB / 1.245 GB, free: 30.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/1.041, allocations: 23.16 kB / 1.245 GB, free: 30.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/1.041, allocations: 7.188 kB / 1.245 GB, free: 30.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.041, allocations: 11.89 kB / 1.245 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009549/1.042, allocations: 493.4 kB / 1.245 GB, free: 30.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/1.042, allocations: 148.5 kB / 1.245 GB, free: 30.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/1.042, allocations: 15 kB / 1.245 GB, free: 30.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/1.042, allocations: 42.69 kB / 1.245 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.043, allocations: 49.64 kB / 1.245 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/1.043, allocations: 23.42 kB / 1.245 GB, free: 29.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001529/1.043, allocations: 130 kB / 1.246 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.043, allocations: 2.781 kB / 1.246 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009876/1.044, allocations: 213.6 kB / 1.246 GB, free: 29.63 MB / 0.6355 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.0007174/1.045, allocations: 318.4 kB / 1.246 GB, free: 29.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009657/1.046, allocations: 318 kB / 1.246 GB, free: 29.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.046, allocations: 0 / 1.246 GB, free: 29.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/1.046, allocations: 181.7 kB / 1.247 GB, free: 28.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/1.046, allocations: 35.86 kB / 1.247 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.048, allocations: 0.6375 MB / 1.247 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/1.048, allocations: 0.7684 MB / 1.248 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004349/1.049, allocations: 60.05 kB / 1.248 GB, free: 27.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/1.049, allocations: 46.42 kB / 1.248 GB, free: 27.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.603e-06/1.049, allocations: 0 / 1.248 GB, free: 27.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.01314/1.062, allocations: 4.712 MB / 1.253 GB, free: 23.04 MB / 0.6355 GB