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.311/2.311, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001532/0.001532, allocations: 177.5 kB / 325.6 MB, free: 2.828 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.438/2.438, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001116/0.001116, allocations: 96.34 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007285/0.0007296, allocations: 11.59 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.22, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.4851, allocations: 133.3 MB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4855, allocations: 75.95 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.07071/0.5562, allocations: 10.35 MB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5562, allocations: 0 / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.5563, allocations: 4 kB / 1.039 GB, free: 1.5 MB / 0.6823 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.002465/0.5587, allocations: 0.6227 MB / 1.04 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5588, allocations: 12.03 kB / 1.04 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.559, allocations: 19.8 kB / 1.04 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.5592, allocations: 198 kB / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.5595, allocations: 134.7 kB / 1.04 GB, free: 420 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.5596, allocations: 20 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.5604, allocations: 243.8 kB / 1.04 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5604, allocations: 3.938 kB / 1.04 GB, free: 108 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.5605, allocations: 8 kB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5605, allocations: 7.938 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.5611, allocations: 119.8 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.5629, allocations: 0.9472 MB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.5662, allocations: 495.5 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.539e-05/0.5663, allocations: 8.125 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.5673, allocations: 316.7 kB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 5e-06/0.5673, allocations: 0 / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001894/0.5692, allocations: 401.4 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/0.5695, allocations: 354.6 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.5698, allocations: 167 kB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-05/0.5699, allocations: 37.7 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.57, allocations: 104.9 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.5703, allocations: 114.5 kB / 1.043 GB, free: 12.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.5703, allocations: 4 kB / 1.043 GB, free: 12.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5706, allocations: 342.8 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.5712, allocations: 101.1 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/0.572, allocations: 192.3 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.5727, allocations: 107.9 kB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5728, allocations: 4 kB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001944/0.5747, allocations: 365.1 kB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5748, allocations: 10.34 kB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5748, allocations: 0 / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.5748, allocations: 4 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.5759, allocations: 87.77 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5759, allocations: 4 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.5767, allocations: 59.66 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/0.5768, allocations: 23.98 kB / 1.045 GB, free: 11.39 MB / 0.698 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.0003737/0.5772, allocations: 154.1 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.5774, allocations: 27.72 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.5789, allocations: 367 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.579, allocations: 8 kB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.579, allocations: 7.953 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.579, allocations: 7.938 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.5797, allocations: 345.1 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5797, allocations: 4 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.5803, allocations: 75.84 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.5803, allocations: 4 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.5804, allocations: 19.98 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.5804, allocations: 4 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.5804, allocations: 11.94 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.5818, allocations: 0.6138 MB / 1.046 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5821, allocations: 144.5 kB / 1.046 GB, free: 9.418 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5822, allocations: 15.98 kB / 1.046 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.5827, allocations: 39.98 kB / 1.046 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.5829, allocations: 51.88 kB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.583, allocations: 20 kB / 1.047 GB, free: 9.293 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001831/0.5831, allocations: 131.8 kB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5832, allocations: 0 / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001006/0.5842, allocations: 219.7 kB / 1.047 GB, free: 8.949 MB / 0.698 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.0008555/0.585, allocations: 318.7 kB / 1.047 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.5863, allocations: 320.1 kB / 1.047 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5863, allocations: 0 / 1.047 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.5868, allocations: 195.7 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.5871, allocations: 16.19 kB / 1.048 GB, free: 8.113 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5887, allocations: 0.6346 MB / 1.048 GB, free: 7.426 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.5892, allocations: 0.7691 MB / 1.049 GB, free: 6.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004473/0.5896, allocations: 51.69 kB / 1.049 GB, free: 6.574 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5899, allocations: 47.41 kB / 1.049 GB, free: 6.527 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/0.5899, allocations: 0 / 1.049 GB, free: 6.527 MB / 0.698 GB Notification: Performance of Templates: time 0.01517/0.6051, allocations: 4.681 MB / 1.054 GB, free: 1.859 MB / 0.698 GB