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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.22/2.22, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001572/0.001571, allocations: 180 kB / 325.6 MB, free: 2.848 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.4/2.4, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001665/0.001665, allocations: 98.39 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004656, allocations: 9.188 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.479, allocations: 133.3 MB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4794, allocations: 71.95 kB / 1.029 GB, free: 12.42 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.06276/0.5422, allocations: 10.35 MB / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5422, allocations: 0 / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.5423, allocations: 4 kB / 1.039 GB, free: 2.043 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.00201/0.5443, allocations: 0.6304 MB / 1.04 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5444, allocations: 12.03 kB / 1.04 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.5445, allocations: 19.81 kB / 1.04 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5447, allocations: 195.4 kB / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.5449, allocations: 126.7 kB / 1.04 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.545, allocations: 24 kB / 1.04 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.5456, allocations: 243.8 kB / 1.04 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5456, allocations: 7.938 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.5457, allocations: 4 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.5457, allocations: 8 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.5461, allocations: 115.8 kB / 1.041 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.5476, allocations: 0.9472 MB / 1.042 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.5502, allocations: 495.5 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.021e-05/0.5503, allocations: 16.11 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007331/0.5511, allocations: 308.7 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.359e-06/0.5511, allocations: 3.938 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001383/0.5525, allocations: 405.8 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/0.5527, allocations: 358 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.553, allocations: 159.6 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.5531, allocations: 37.7 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.5533, allocations: 108.9 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5534, allocations: 110.5 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.5535, allocations: 12 kB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5537, allocations: 330.8 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.5541, allocations: 105.1 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.5547, allocations: 184.3 kB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.5552, allocations: 111.9 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5552, allocations: 0 / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001333/0.5566, allocations: 361 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.5566, allocations: 12 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5566, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.5567, allocations: 4 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.5574, allocations: 87.77 kB / 1.045 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.5575, allocations: 7.984 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.5581, allocations: 55.72 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.5582, allocations: 23.98 kB / 1.045 GB, free: 11.94 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.0002692/0.5584, allocations: 154.5 kB / 1.045 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.5585, allocations: 35.64 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.5598, allocations: 349.9 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5598, allocations: 16 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.5599, allocations: 3.953 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.5599, allocations: 4 kB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.5605, allocations: 357.1 kB / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.5605, allocations: 448 / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.5612, allocations: 71.84 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.5612, allocations: 8.188 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.5612, allocations: 19.98 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.5613, allocations: 8 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.5613, allocations: 0 / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.5626, allocations: 0.6253 MB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.5629, allocations: 144.5 kB / 1.046 GB, free: 9.961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.563, allocations: 24.3 kB / 1.046 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.5636, allocations: 35.97 kB / 1.046 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5637, allocations: 55.89 kB / 1.047 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.5638, allocations: 20 kB / 1.047 GB, free: 9.828 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001797/0.564, allocations: 135.7 kB / 1.047 GB, free: 9.695 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.564, allocations: 0 / 1.047 GB, free: 9.695 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001032/0.5651, allocations: 215.7 kB / 1.047 GB, free: 9.484 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.0008988/0.566, allocations: 314.7 kB / 1.047 GB, free: 9.168 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.5672, allocations: 315.6 kB / 1.047 GB, free: 8.863 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5672, allocations: 3.938 kB / 1.047 GB, free: 8.859 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.5678, allocations: 184.5 kB / 1.048 GB, free: 8.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5681, allocations: 20.19 kB / 1.048 GB, free: 8.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5697, allocations: 0.644 MB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.5701, allocations: 0.7613 MB / 1.049 GB, free: 7.172 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004512/0.5706, allocations: 56.44 kB / 1.049 GB, free: 7.113 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.5708, allocations: 47.34 kB / 1.049 GB, free: 7.066 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.5708, allocations: 0 / 1.049 GB, free: 7.066 MB / 0.698 GB Notification: Performance of Templates: time 0.01497/0.5858, allocations: 4.681 MB / 1.054 GB, free: 2.398 MB / 0.698 GB