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.354/2.354, allocations: 253.2 MB / 260.6 MB, free: 7.562 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.00146/0.001459, allocations: 176.8 kB / 319.9 MB, free: 3.027 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.227/2.227, allocations: 205.5 MB / 0.5708 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.001099/0.001098, allocations: 96.34 kB / 0.6751 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.237e-05, allocations: 8 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 106.2 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9336/1.139, allocations: 133.5 MB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.139, allocations: 69.52 kB / 1.019 GB, free: 3.738 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.05591/1.195, allocations: 10.28 MB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/1.195, allocations: 0 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.195, allocations: 7.938 kB / 1.029 GB, free: 10.96 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.001889/1.197, allocations: 0.6071 MB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.197, allocations: 16.02 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.197, allocations: 19.72 kB / 1.03 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/1.197, allocations: 194.7 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/1.197, allocations: 4 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/1.197, allocations: 15.98 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003513/1.198, allocations: 95.94 kB / 1.03 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/1.198, allocations: 230.7 kB / 1.03 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.198, allocations: 3.938 kB / 1.03 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/1.198, allocations: 7.984 kB / 1.03 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.198, allocations: 7.938 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/1.199, allocations: 0.9133 MB / 1.031 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.202, allocations: 473.9 kB / 1.032 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/1.202, allocations: 143.9 kB / 1.032 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/1.202, allocations: 7.984 kB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/1.203, allocations: 293.9 kB / 1.032 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 4.018e-06/1.203, allocations: 0 / 1.032 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.00399/1.207, allocations: 0.4902 MB / 1.033 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/1.207, allocations: 349.6 kB / 1.033 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/1.207, allocations: 158 kB / 1.033 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/1.207, allocations: 29.7 kB / 1.033 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.208, allocations: 107.7 kB / 1.033 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.208, allocations: 107.9 kB / 1.033 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/1.208, allocations: 0 / 1.033 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.208, allocations: 330.4 kB / 1.034 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/1.208, allocations: 92.3 kB / 1.034 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/1.209, allocations: 159.9 kB / 1.034 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004996/1.214, allocations: 440.4 kB / 1.034 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.214, allocations: 0 / 1.034 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005454/1.219, allocations: 0.6498 MB / 1.035 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.219, allocations: 4 kB / 1.035 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.219, allocations: 4 kB / 1.035 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.219, allocations: 4 kB / 1.035 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/1.22, allocations: 71.64 kB / 1.035 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.22, allocations: 4 kB / 1.035 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/1.221, allocations: 51.98 kB / 1.035 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/1.221, allocations: 24.42 kB / 1.035 GB, free: 4.906 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.000226/1.221, allocations: 124.2 kB / 1.035 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/1.221, allocations: 27.8 kB / 1.035 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.222, allocations: 332.2 kB / 1.035 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.222, allocations: 12 kB / 1.036 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.222, allocations: 4 kB / 1.036 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.222, allocations: 3.938 kB / 1.036 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/1.223, allocations: 302.1 kB / 1.036 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/1.223, allocations: 8 kB / 1.036 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/1.223, allocations: 76.2 kB / 1.036 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.223, allocations: 4 kB / 1.036 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/1.223, allocations: 11.81 kB / 1.036 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/1.223, allocations: 15.92 kB / 1.036 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/1.223, allocations: 4 kB / 1.036 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/1.227, allocations: 0.7738 MB / 1.037 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/1.227, allocations: 147.1 kB / 1.037 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/1.227, allocations: 15.36 kB / 1.037 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/1.228, allocations: 27.97 kB / 1.037 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.228, allocations: 54.02 kB / 1.037 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/1.228, allocations: 23.44 kB / 1.037 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001394/1.228, allocations: 124.4 kB / 1.037 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.228, allocations: 0 / 1.037 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009651/1.229, allocations: 198.8 kB / 1.037 GB, free: 2.723 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.0008077/1.23, allocations: 316.8 kB / 1.038 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002412/1.232, allocations: 2.967 MB / 1.04 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.232, allocations: 8.219 kB / 1.04 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004893/1.233, allocations: 166 kB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/1.233, allocations: 15.55 kB / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.235, allocations: 402.4 kB / 1.041 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/1.235, allocations: 0.769 MB / 1.042 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003857/1.235, allocations: 48.75 kB / 1.042 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/1.236, allocations: 46.03 kB / 1.042 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of SimCode: time 6.92e-07/1.236, allocations: 0 / 1.042 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of Templates: time 0.0146/1.25, allocations: 4.726 MB / 1.046 GB, free: 9.336 MB / 0.6667 GB