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.386/2.386, allocations: 252.6 MB / 265.2 MB, free: 5.73 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001454, allocations: 183.8 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001075/0.001076, allocations: 102.2 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.469e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2511, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.874/1.125, allocations: 133.2 MB / 1.025 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.126, allocations: 70.53 kB / 1.025 GB, free: 1.246 MB / 0.6355 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.05658/1.182, allocations: 10.32 MB / 1.035 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.592e-06/1.182, allocations: 0 / 1.035 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.182, allocations: 4 kB / 1.035 GB, free: 8.289 MB / 0.6511 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.001848/1.184, allocations: 0.6054 MB / 1.036 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.184, allocations: 12.03 kB / 1.036 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.184, allocations: 23.72 kB / 1.036 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/1.184, allocations: 191.3 kB / 1.036 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/1.185, allocations: 133.3 kB / 1.036 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/1.185, allocations: 17.5 kB / 1.036 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/1.185, allocations: 236.2 kB / 1.036 GB, free: 7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.185, allocations: 3.938 kB / 1.036 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/1.185, allocations: 14.42 kB / 1.036 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.185, allocations: 4 kB / 1.036 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/1.186, allocations: 112.2 kB / 1.036 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/1.187, allocations: 0.9512 MB / 1.037 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/1.19, allocations: 0.4899 MB / 1.038 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/1.19, allocations: 149.6 kB / 1.038 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/1.19, allocations: 11.62 kB / 1.038 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/1.191, allocations: 307.4 kB / 1.038 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.426e-06/1.191, allocations: 0 / 1.038 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001017/1.192, allocations: 317.8 kB / 1.039 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/1.192, allocations: 353.9 kB / 1.039 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/1.192, allocations: 162.1 kB / 1.039 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/1.192, allocations: 36.27 kB / 1.039 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.192, allocations: 111.7 kB / 1.039 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/1.193, allocations: 112 kB / 1.039 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/1.193, allocations: 11.62 kB / 1.039 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.193, allocations: 328.8 kB / 1.04 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/1.193, allocations: 97.55 kB / 1.04 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/1.194, allocations: 170.2 kB / 1.04 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/1.194, allocations: 102.6 kB / 1.04 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.194, allocations: 0 / 1.04 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001107/1.195, allocations: 357.7 kB / 1.04 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.195, allocations: 7.984 kB / 1.04 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.195, allocations: 4 kB / 1.04 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.195, allocations: 7.953 kB / 1.04 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/1.196, allocations: 79.25 kB / 1.04 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.196, allocations: 4 kB / 1.04 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/1.197, allocations: 54.3 kB / 1.041 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.197, allocations: 27.09 kB / 1.041 GB, free: 2.777 MB / 0.6511 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): 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.0002011/1.197, allocations: 140 kB / 1.041 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/1.197, allocations: 19.81 kB / 1.041 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/1.198, allocations: 360.2 kB / 1.041 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.198, allocations: 8 kB / 1.041 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.198, allocations: 7.953 kB / 1.041 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.198, allocations: 7.984 kB / 1.041 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/1.199, allocations: 354.4 kB / 1.041 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.199, allocations: 7.938 kB / 1.041 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/1.199, allocations: 70.97 kB / 1.041 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/1.2, allocations: 4 kB / 1.041 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/1.2, allocations: 21.42 kB / 1.041 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/1.2, allocations: 7.938 kB / 1.042 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.2, allocations: 4 kB / 1.042 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.201, allocations: 0.5983 MB / 1.042 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.201, allocations: 152.4 kB / 1.042 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/1.201, allocations: 14.69 kB / 1.042 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/1.202, allocations: 38.28 kB / 1.042 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.202, allocations: 58.58 kB / 1.042 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/1.202, allocations: 23.61 kB / 1.042 GB, free: 1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001742/1.202, allocations: 129.5 kB / 1.042 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.202, allocations: 0 / 1.042 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009822/1.203, allocations: 217.5 kB / 1.043 GB, free: 0.6914 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.0008582/1.204, allocations: 328.3 kB / 1.043 GB, free: 388 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009389/1.205, allocations: 299.2 kB / 1.043 GB, free: 164 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.205, allocations: 4 kB / 1.043 GB, free: 160 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/1.206, allocations: 182.5 kB / 1.043 GB, free: 16 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.206, allocations: 20.97 kB / 1.043 GB, free: 8 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/1.207, allocations: 448.2 kB / 1.044 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/1.208, allocations: 0.765 MB / 1.045 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004422/1.208, allocations: 56.14 kB / 1.045 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/1.208, allocations: 46.41 kB / 1.045 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.403e-06/1.208, allocations: 0 / 1.045 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.01549/1.224, allocations: 4.701 MB / 1.049 GB, free: 10.03 MB / 0.6667 GB