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.26/2.26, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 181 kB / 325.6 MB, free: 2.805 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.47/2.47, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001134/0.001134, allocations: 102.2 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004644, allocations: 11.66 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 106.2 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.435, allocations: 133.3 MB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.4354, allocations: 71.95 kB / 1.029 GB, free: 11.88 MB / 0.6823 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.05595/0.4914, allocations: 10.34 MB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4914, allocations: 0 / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.4915, allocations: 7.938 kB / 1.039 GB, free: 1.512 MB / 0.6823 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.001967/0.4934, allocations: 0.6227 MB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4935, allocations: 12.03 kB / 1.04 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.4936, allocations: 23.81 kB / 1.04 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4938, allocations: 198 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.494, allocations: 130.7 kB / 1.04 GB, free: 432 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.4941, allocations: 20 kB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.4947, allocations: 251.5 kB / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4947, allocations: 0 / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.4948, allocations: 8 kB / 1.04 GB, free: 108 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4948, allocations: 4 kB / 1.04 GB, free: 104 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.4953, allocations: 127.7 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4966, allocations: 0.9472 MB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.4992, allocations: 495.5 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.4994, allocations: 12.17 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006896/0.5001, allocations: 312.6 kB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.368e-06/0.5001, allocations: 0 / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001336/0.5014, allocations: 396.9 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.5016, allocations: 358.6 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.5019, allocations: 159 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.502, allocations: 41.7 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.5021, allocations: 104.9 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.5022, allocations: 114.4 kB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.5023, allocations: 8 kB / 1.043 GB, free: 12.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5024, allocations: 334.8 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.5029, allocations: 105.1 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.5034, allocations: 176.4 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.5039, allocations: 120.6 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.504, allocations: 0 / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001261/0.5052, allocations: 369 kB / 1.044 GB, free: 11.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5053, allocations: 4 kB / 1.044 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5053, allocations: 4 kB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.5053, allocations: 4 kB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.5061, allocations: 79.83 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.5061, allocations: 4 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.5067, allocations: 63.66 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.5068, allocations: 20.36 kB / 1.045 GB, free: 11.41 MB / 0.698 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 () * Number of clocked 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.0002699/0.5071, allocations: 153.7 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.5072, allocations: 27.7 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5084, allocations: 375.2 kB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5084, allocations: 11.94 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5084, allocations: 7.953 kB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.5085, allocations: 7.984 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.5091, allocations: 345.1 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.5091, allocations: 4 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.5097, allocations: 67.91 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.5097, allocations: 8 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.5098, allocations: 19.98 kB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.5098, allocations: 7.938 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5098, allocations: 7.938 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.5111, allocations: 0.6098 MB / 1.046 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.5114, allocations: 144.5 kB / 1.046 GB, free: 9.434 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.5114, allocations: 19.98 kB / 1.046 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.5119, allocations: 43.97 kB / 1.046 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.5121, allocations: 51.83 kB / 1.046 GB, free: 9.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.5122, allocations: 20 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001678/0.5124, allocations: 135.8 kB / 1.047 GB, free: 9.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5124, allocations: 4 kB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009742/0.5134, allocations: 215.7 kB / 1.047 GB, free: 8.953 MB / 0.698 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) * Number of clocked states: 0 () * 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.0008357/0.5142, allocations: 307.9 kB / 1.047 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.5154, allocations: 323.5 kB / 1.047 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5154, allocations: 0 / 1.047 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.5159, allocations: 184 kB / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5162, allocations: 29.84 kB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.5177, allocations: 0.6361 MB / 1.048 GB, free: 7.434 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.5181, allocations: 0.7652 MB / 1.049 GB, free: 6.641 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004499/0.5186, allocations: 56.38 kB / 1.049 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.5189, allocations: 47.41 kB / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/0.5189, allocations: 0 / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of Templates: time 0.01475/0.5336, allocations: 4.679 MB / 1.054 GB, free: 1.863 MB / 0.698 GB