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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.501/2.501, allocations: 253.2 MB / 260.6 MB, free: 7.496 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.001469/0.001469, allocations: 177.9 kB / 319.9 MB, free: 3.074 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.139/2.139, allocations: 205.6 MB / 0.5709 GB, free: 15.22 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.001226/0.001225, allocations: 77.02 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.778e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9238/1.134, allocations: 133.5 MB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.134, allocations: 78.95 kB / 1.019 GB, free: 3.762 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.05704/1.191, allocations: 10.27 MB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.074e-06/1.191, allocations: 4 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.73e-05/1.191, allocations: 4 kB / 1.029 GB, free: 10.97 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.001934/1.193, allocations: 0.6054 MB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.193, allocations: 8.031 kB / 1.03 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/1.193, allocations: 27.72 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/1.194, allocations: 190.7 kB / 1.03 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/1.194, allocations: 4 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/1.194, allocations: 16 kB / 1.03 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003626/1.194, allocations: 92.77 kB / 1.03 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/1.195, allocations: 232.6 kB / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/1.195, allocations: 7.922 kB / 1.03 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/1.195, allocations: 0 / 1.03 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/1.195, allocations: 4 kB / 1.03 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/1.196, allocations: 0.923 MB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/1.199, allocations: 466.5 kB / 1.032 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/1.199, allocations: 147.9 kB / 1.032 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/1.199, allocations: 11.62 kB / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006045/1.2, allocations: 294.1 kB / 1.032 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/1.2, allocations: 0 / 1.032 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.003832/1.203, allocations: 0.4928 MB / 1.033 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002144/1.204, allocations: 353.6 kB / 1.033 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/1.204, allocations: 150.3 kB / 1.033 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/1.204, allocations: 33.7 kB / 1.033 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.204, allocations: 101.9 kB / 1.033 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/1.204, allocations: 105.8 kB / 1.033 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/1.204, allocations: 11.75 kB / 1.033 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.205, allocations: 328.6 kB / 1.034 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/1.205, allocations: 85.62 kB / 1.034 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/1.205, allocations: 164.3 kB / 1.034 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004902/1.21, allocations: 445.3 kB / 1.034 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.21, allocations: 0 / 1.034 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005524/1.216, allocations: 0.6455 MB / 1.035 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/1.216, allocations: 8 kB / 1.035 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.216, allocations: 0 / 1.035 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/1.216, allocations: 4 kB / 1.035 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/1.216, allocations: 71.27 kB / 1.035 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.217, allocations: 7.984 kB / 1.035 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/1.217, allocations: 51.62 kB / 1.035 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/1.217, allocations: 23.67 kB / 1.035 GB, free: 4.922 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0002189/1.217, allocations: 127.9 kB / 1.035 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/1.218, allocations: 19.81 kB / 1.035 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.219, allocations: 334.6 kB / 1.035 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.219, allocations: 8 kB / 1.036 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.219, allocations: 4 kB / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.219, allocations: 7.984 kB / 1.036 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/1.219, allocations: 302.8 kB / 1.036 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.219, allocations: 0 / 1.036 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.22, allocations: 75.66 kB / 1.036 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/1.22, allocations: 7.938 kB / 1.036 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/1.22, allocations: 15.61 kB / 1.036 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/1.22, allocations: 8 kB / 1.036 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.22, allocations: 4 kB / 1.036 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/1.224, allocations: 0.7798 MB / 1.037 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/1.224, allocations: 146.6 kB / 1.037 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/1.225, allocations: 7.812 kB / 1.037 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/1.225, allocations: 31.97 kB / 1.037 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.225, allocations: 54.83 kB / 1.037 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/1.225, allocations: 26.17 kB / 1.037 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001497/1.225, allocations: 117.5 kB / 1.037 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.225, allocations: 0 / 1.037 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00108/1.227, allocations: 203.6 kB / 1.037 GB, free: 2.742 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.0009433/1.228, allocations: 313.4 kB / 1.038 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002735/1.23, allocations: 2.975 MB / 1.04 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.23, allocations: 0 / 1.04 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/1.231, allocations: 165.6 kB / 1.041 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.231, allocations: 8.344 kB / 1.041 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/1.233, allocations: 406 kB / 1.041 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.233, allocations: 0.7689 MB / 1.042 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004518/1.233, allocations: 55.94 kB / 1.042 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/1.234, allocations: 46.09 kB / 1.042 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of SimCode: time 9.22e-07/1.234, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of Templates: time 0.01532/1.249, allocations: 4.721 MB / 1.046 GB, free: 9.355 MB / 0.6667 GB