Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.741/4.741, allocations: 0.5623 GB / 0.5775 GB, free: 3.383 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002685/0.002685, allocations: 356.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.296/4.296, allocations: 410.7 MB / 1.113 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001855/0.001855, allocations: 187.2 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005067, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7416/0.7421, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.9537, allocations: 138.7 MB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.954, allocations: 76.06 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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.04961/1.004, allocations: 10.08 MB / 1.607 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.483e-06/1.004, allocations: 0 / 1.607 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.004, allocations: 4 kB / 1.607 GB, free: 135.5 MB / 0.8542 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.001671/1.005, allocations: 0.6303 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.005, allocations: 16.66 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/1.005, allocations: 23.72 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/1.006, allocations: 186.8 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/1.006, allocations: 136.6 kB / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/1.006, allocations: 19.98 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/1.006, allocations: 247.6 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.006, allocations: 3.938 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/1.006, allocations: 8.688 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/1.006, allocations: 10.25 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/1.007, allocations: 116.7 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/1.008, allocations: 0.957 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/1.01, allocations: 480.5 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/1.01, allocations: 162 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/1.01, allocations: 12.83 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/1.011, allocations: 307.7 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 3.316e-06/1.011, allocations: 0.6875 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.001179/1.012, allocations: 403.7 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.012, allocations: 352.5 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/1.013, allocations: 174.6 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/1.013, allocations: 42.39 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/1.013, allocations: 104.9 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/1.013, allocations: 115.5 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/1.013, allocations: 8 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/1.013, allocations: 332.7 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/1.013, allocations: 105.1 kB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/1.014, allocations: 183.2 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/1.014, allocations: 117.5 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.014, allocations: 1.938 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001154/1.016, allocations: 365.6 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.016, allocations: 8 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.016, allocations: 1 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.016, allocations: 5.25 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/1.016, allocations: 83.83 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.016, allocations: 9.219 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/1.017, allocations: 57 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/1.017, allocations: 29.61 kB / 1.612 GB, free: 129.3 MB / 0.8542 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.0002213/1.017, allocations: 151.6 kB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/1.017, allocations: 35.7 kB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/1.018, allocations: 354.7 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.018, allocations: 12.59 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.018, allocations: 8.578 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.018, allocations: 7.984 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/1.019, allocations: 354.1 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.019, allocations: 0 / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/1.019, allocations: 67.91 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/1.019, allocations: 9.453 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/1.02, allocations: 19.94 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/1.02, allocations: 8 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.02, allocations: 0 / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/1.02, allocations: 496 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/1.021, allocations: 154 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/1.021, allocations: 19.98 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/1.021, allocations: 37.52 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.021, allocations: 57.09 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/1.021, allocations: 20.59 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001276/1.022, allocations: 135.4 kB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/1.022, allocations: 0 / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008724/1.022, allocations: 218.5 kB / 1.614 GB, free: 127.1 MB / 0.8542 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.00072/1.023, allocations: 314.6 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.024, allocations: 311.6 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.024, allocations: 0 / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/1.025, allocations: 186.4 kB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/1.025, allocations: 36.11 kB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.027, allocations: 0.6348 MB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/1.027, allocations: 0.7655 MB / 1.616 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004023/1.027, allocations: 59.98 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.027, allocations: 47.41 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/1.027, allocations: 0 / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01227/1.04, allocations: 4.701 MB / 1.621 GB, free: 120.2 MB / 0.8542 GB