Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.017/4.017, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.487e-05, allocations: 4 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5487, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.802, allocations: 125.6 MB / 0.7515 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.8023, allocations: 79.78 kB / 0.7516 GB, free: 1.938 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.04944/0.8518, allocations: 10.24 MB / 0.7616 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.161e-06/0.8518, allocations: 0 / 0.7616 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.8518, allocations: 4 kB / 0.7616 GB, free: 7.676 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.001421/0.8533, allocations: 0.6031 MB / 0.7622 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8533, allocations: 12.02 kB / 0.7622 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.8534, allocations: 27.7 kB / 0.7622 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.8536, allocations: 192.3 kB / 0.7624 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.8537, allocations: 8 kB / 0.7624 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.8537, allocations: 12 kB / 0.7624 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003084/0.8541, allocations: 91.95 kB / 0.7625 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.8545, allocations: 243.4 kB / 0.7628 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.8545, allocations: 0 / 0.7628 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.8546, allocations: 0 / 0.7628 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.8546, allocations: 12 kB / 0.7628 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.8558, allocations: 0.9131 MB / 0.7637 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.8574, allocations: 467.7 kB / 0.7641 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.8577, allocations: 145.3 kB / 0.7643 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.8578, allocations: 12 kB / 0.7643 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.8583, allocations: 295.6 kB / 0.7645 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 4.013e-06/0.8583, allocations: 0 / 0.7645 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.003341/0.8617, allocations: 0.4968 MB / 0.765 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.862, allocations: 346.1 kB / 0.7654 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.8622, allocations: 159 kB / 0.7655 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.8623, allocations: 33.7 kB / 0.7655 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.8624, allocations: 105.2 kB / 0.7656 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.8625, allocations: 106.5 kB / 0.7657 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.8626, allocations: 3.938 kB / 0.7658 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8627, allocations: 334.8 kB / 0.7661 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.863, allocations: 89.11 kB / 0.7662 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.8633, allocations: 159.3 kB / 0.7663 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/0.8675, allocations: 439.3 kB / 0.7667 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.405e-06/0.8676, allocations: 0 / 0.7667 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00479/0.8724, allocations: 0.6411 MB / 0.7674 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.8724, allocations: 11.98 kB / 0.7674 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8724, allocations: 0 / 0.7674 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.8725, allocations: 8 kB / 0.7674 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.8729, allocations: 67.89 kB / 0.7674 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.8729, allocations: 7.953 kB / 0.7674 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.8733, allocations: 47.66 kB / 0.7675 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.8734, allocations: 27.92 kB / 0.7675 GB, free: 1.086 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0002141/0.8737, allocations: 132.3 kB / 0.7676 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/0.8738, allocations: 19.81 kB / 0.7677 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/0.8746, allocations: 322.9 kB / 0.768 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.8747, allocations: 8 kB / 0.768 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.8747, allocations: 4 kB / 0.768 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.8747, allocations: 11.94 kB / 0.768 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.8752, allocations: 305.6 kB / 0.7683 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.902e-06/0.8753, allocations: 4.438 kB / 0.7683 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.8757, allocations: 72.03 kB / 0.7684 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.8757, allocations: 8 kB / 0.7684 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.8757, allocations: 15.98 kB / 0.7684 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.8758, allocations: 8 kB / 0.7684 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.426e-06/0.8758, allocations: 3.984 kB / 0.7684 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.8793, allocations: 0.7851 MB / 0.7692 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.8795, allocations: 144.6 kB / 0.7693 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.8796, allocations: 7.984 kB / 0.7693 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.88, allocations: 27.98 kB / 0.7693 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.8801, allocations: 59.83 kB / 0.7694 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.8802, allocations: 23.98 kB / 0.7694 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001422/0.8803, allocations: 119.3 kB / 0.7695 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.62e-07/0.8804, allocations: 4 kB / 0.7695 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008334/0.8812, allocations: 191.7 kB / 0.7697 GB, free: 14.64 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.0006832/0.8819, allocations: 313 kB / 0.77 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.8846, allocations: 2.97 MB / 0.7729 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.24e-06/0.8846, allocations: 0 / 0.7729 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.885, allocations: 163.7 kB / 0.7731 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.8853, allocations: 16.12 kB / 0.7731 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.8863, allocations: 416.2 kB / 0.7735 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.8868, allocations: 0.7651 MB / 0.7742 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.8872, allocations: 51.98 kB / 0.7743 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.8873, allocations: 44.17 kB / 0.7743 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of SimCode: time 1.678e-06/0.8873, allocations: 0 / 0.7743 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.01266/0.9, allocations: 4.732 MB / 0.7789 GB, free: 5.012 MB / 0.6511 GB