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.391/2.391, allocations: 253.2 MB / 260.6 MB, free: 7.445 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.001499/0.001498, allocations: 192.5 kB / 319.9 MB, free: 3.066 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.199/2.199, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001113/0.001113, allocations: 85.5 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.032e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.165, allocations: 133.5 MB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.165, allocations: 72.52 kB / 1.019 GB, free: 3.781 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.0561/1.222, allocations: 10.27 MB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/1.222, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.284e-05/1.222, allocations: 4 kB / 1.029 GB, free: 10.99 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.001844/1.224, allocations: 0.6056 MB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.224, allocations: 16.02 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/1.224, allocations: 27.7 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/1.224, allocations: 190.7 kB / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/1.224, allocations: 8 kB / 1.03 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/1.224, allocations: 12 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003503/1.224, allocations: 95.38 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/1.225, allocations: 228.9 kB / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.225, allocations: 3.938 kB / 1.03 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/1.225, allocations: 4 kB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.225, allocations: 4 kB / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/1.226, allocations: 0.9187 MB / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/1.229, allocations: 467.2 kB / 1.032 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/1.229, allocations: 151.6 kB / 1.032 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/1.229, allocations: 11.88 kB / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/1.229, allocations: 295.5 kB / 1.032 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.567e-06/1.229, allocations: 0 / 1.032 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.003633/1.233, allocations: 496.1 kB / 1.033 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/1.233, allocations: 357.7 kB / 1.033 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/1.234, allocations: 151 kB / 1.033 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/1.234, allocations: 37.45 kB / 1.033 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/1.234, allocations: 103.9 kB / 1.033 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.234, allocations: 106.9 kB / 1.033 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/1.234, allocations: 0 / 1.033 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.234, allocations: 337.1 kB / 1.034 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/1.234, allocations: 93.17 kB / 1.034 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/1.235, allocations: 155.8 kB / 1.034 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/1.24, allocations: 433.5 kB / 1.034 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.24, allocations: 4 kB / 1.034 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005492/1.245, allocations: 0.6501 MB / 1.035 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.245, allocations: 4 kB / 1.035 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.245, allocations: 4 kB / 1.035 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.245, allocations: 4.375 kB / 1.035 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/1.246, allocations: 67.33 kB / 1.035 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.246, allocations: 4 kB / 1.035 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/1.246, allocations: 59.61 kB / 1.035 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/1.247, allocations: 22.48 kB / 1.035 GB, free: 4.938 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.0002033/1.247, allocations: 128.1 kB / 1.035 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/1.247, allocations: 19.81 kB / 1.035 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.248, allocations: 333.2 kB / 1.035 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.248, allocations: 8 kB / 1.036 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.248, allocations: 8 kB / 1.036 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.248, allocations: 3.984 kB / 1.036 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/1.249, allocations: 306 kB / 1.036 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.249, allocations: 4 kB / 1.036 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/1.249, allocations: 75.09 kB / 1.036 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.249, allocations: 4 kB / 1.036 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/1.249, allocations: 11.98 kB / 1.036 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.249, allocations: 7.938 kB / 1.036 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.249, allocations: 8 kB / 1.036 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/1.253, allocations: 0.7827 MB / 1.037 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/1.253, allocations: 142.6 kB / 1.037 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/1.254, allocations: 11.98 kB / 1.037 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/1.254, allocations: 27.98 kB / 1.037 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.254, allocations: 53.95 kB / 1.037 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/1.254, allocations: 23.42 kB / 1.037 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001477/1.255, allocations: 123.4 kB / 1.037 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.255, allocations: 0 / 1.037 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009841/1.256, allocations: 199.5 kB / 1.037 GB, free: 2.758 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.0008297/1.256, allocations: 316.7 kB / 1.038 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002515/1.259, allocations: 2.974 MB / 1.04 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.259, allocations: 0 / 1.04 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/1.259, allocations: 169.6 kB / 1.041 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/1.26, allocations: 11.5 kB / 1.041 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/1.261, allocations: 403.3 kB / 1.041 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.261, allocations: 0.7689 MB / 1.042 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003945/1.262, allocations: 52.03 kB / 1.042 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/1.262, allocations: 47.61 kB / 1.042 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of SimCode: time 1.142e-06/1.262, allocations: 0 / 1.042 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of Templates: time 0.01489/1.277, allocations: 4.73 MB / 1.046 GB, free: 9.367 MB / 0.6667 GB