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.334/2.334, allocations: 252.6 MB / 265.2 MB, free: 5.75 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.002035/0.002034, allocations: 174 kB / 324.5 MB, free: 14.39 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.276/2.276, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.001727/0.001727, allocations: 101.8 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.887e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2187, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8475/1.066, allocations: 133.2 MB / 1.025 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.067, allocations: 71.08 kB / 1.025 GB, free: 1.23 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.05585/1.122, allocations: 10.32 MB / 1.035 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.453e-06/1.123, allocations: 0 / 1.035 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.39e-05/1.123, allocations: 4 kB / 1.035 GB, free: 8.285 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.001886/1.124, allocations: 0.6138 MB / 1.036 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.124, allocations: 8.031 kB / 1.036 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.125, allocations: 23.72 kB / 1.036 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/1.125, allocations: 191.2 kB / 1.036 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/1.125, allocations: 129.3 kB / 1.036 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/1.125, allocations: 26.98 kB / 1.036 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/1.126, allocations: 237.9 kB / 1.036 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/1.126, allocations: 3.938 kB / 1.036 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/1.126, allocations: 7.5 kB / 1.036 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.126, allocations: 4 kB / 1.036 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/1.126, allocations: 116.4 kB / 1.036 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/1.128, allocations: 0.9573 MB / 1.037 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/1.13, allocations: 492.1 kB / 1.038 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/1.131, allocations: 151.7 kB / 1.038 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/1.131, allocations: 7.984 kB / 1.038 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006511/1.131, allocations: 311.9 kB / 1.038 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 4.087e-06/1.131, allocations: 0 / 1.038 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001053/1.132, allocations: 313.7 kB / 1.039 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/1.133, allocations: 354.1 kB / 1.039 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/1.133, allocations: 158.3 kB / 1.039 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/1.133, allocations: 40.81 kB / 1.039 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.133, allocations: 107.4 kB / 1.039 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.133, allocations: 116.1 kB / 1.039 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/1.133, allocations: 7.25 kB / 1.039 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.134, allocations: 329.8 kB / 1.04 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/1.134, allocations: 95.98 kB / 1.04 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/1.134, allocations: 172.6 kB / 1.04 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/1.135, allocations: 110.9 kB / 1.04 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.135, allocations: 0 / 1.04 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001109/1.136, allocations: 352.7 kB / 1.04 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.136, allocations: 4 kB / 1.04 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.136, allocations: 4 kB / 1.04 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.136, allocations: 11.95 kB / 1.04 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/1.137, allocations: 75.19 kB / 1.04 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.137, allocations: 7.938 kB / 1.04 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.137, allocations: 57.66 kB / 1.041 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/1.137, allocations: 19.55 kB / 1.041 GB, free: 2.77 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.0002096/1.138, allocations: 145.7 kB / 1.041 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/1.138, allocations: 23 kB / 1.041 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/1.139, allocations: 358.4 kB / 1.041 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.139, allocations: 8 kB / 1.041 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.139, allocations: 7.953 kB / 1.041 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/1.139, allocations: 11.98 kB / 1.041 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/1.14, allocations: 347.1 kB / 1.041 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.14, allocations: 7.938 kB / 1.041 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/1.14, allocations: 71.64 kB / 1.041 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/1.14, allocations: 8 kB / 1.041 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/1.14, allocations: 14.88 kB / 1.041 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/1.14, allocations: 11.92 kB / 1.042 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.14, allocations: 4 kB / 1.042 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.142, allocations: 0.6002 MB / 1.042 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/1.142, allocations: 148.3 kB / 1.042 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/1.142, allocations: 18.75 kB / 1.042 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/1.143, allocations: 38.34 kB / 1.042 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.143, allocations: 57.95 kB / 1.042 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/1.143, allocations: 23.61 kB / 1.042 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001699/1.143, allocations: 131 kB / 1.042 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.143, allocations: 0 / 1.042 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00104/1.144, allocations: 212.7 kB / 1.043 GB, free: 0.6797 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.0009034/1.145, allocations: 325.2 kB / 1.043 GB, free: 380 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.146, allocations: 306.3 kB / 1.043 GB, free: 148 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.146, allocations: 4 kB / 1.043 GB, free: 144 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/1.147, allocations: 184.8 kB / 1.043 GB, free: 0 / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/1.147, allocations: 18.44 kB / 1.043 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/1.148, allocations: 445.7 kB / 1.044 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/1.149, allocations: 0.765 MB / 1.045 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004652/1.149, allocations: 55.67 kB / 1.045 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/1.149, allocations: 42.11 kB / 1.045 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of SimCode: time 1.293e-06/1.149, allocations: 0 / 1.045 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of Templates: time 0.01569/1.165, allocations: 4.708 MB / 1.049 GB, free: 10.02 MB / 0.6667 GB