Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.535/4.535, allocations: 0.5623 GB / 0.5775 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002694/0.002694, allocations: 355.1 kB / 0.6446 GB, free: 21.67 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.389/4.389, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001907/0.001907, allocations: 175.1 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004797, allocations: 11.69 kB / 1.349 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.4413, allocations: 138.6 MB / 1.597 GB, free: 81.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4417, allocations: 76.83 kB / 1.597 GB, free: 81.83 MB / 0.8073 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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.05267/0.4944, allocations: 10.09 MB / 1.607 GB, free: 71.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4944, allocations: 0.7188 kB / 1.607 GB, free: 71.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4944, allocations: 4 kB / 1.607 GB, free: 71.81 MB / 0.8073 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.001827/0.4963, allocations: 0.6306 MB / 1.607 GB, free: 71.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4963, allocations: 8.75 kB / 1.607 GB, free: 71.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4965, allocations: 24.25 kB / 1.607 GB, free: 71.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.4966, allocations: 187.4 kB / 1.607 GB, free: 70.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.4968, allocations: 135.6 kB / 1.608 GB, free: 70.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.4969, allocations: 23.98 kB / 1.608 GB, free: 70.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.4974, allocations: 248.1 kB / 1.608 GB, free: 70.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4974, allocations: 0 / 1.608 GB, free: 70.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.4975, allocations: 8 kB / 1.608 GB, free: 70.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4975, allocations: 5.812 kB / 1.608 GB, free: 70.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.4979, allocations: 123.7 kB / 1.608 GB, free: 70.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.499, allocations: 0.9562 MB / 1.609 GB, free: 69.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.5019, allocations: 490.6 kB / 1.609 GB, free: 68.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.5025, allocations: 157 kB / 1.61 GB, free: 68.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.5026, allocations: 7.938 kB / 1.61 GB, free: 68.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006765/0.5033, allocations: 314.3 kB / 1.61 GB, free: 68.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 4.338e-06/0.5033, allocations: 0 / 1.61 GB, free: 68.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.001237/0.5046, allocations: 405.1 kB / 1.61 GB, free: 67.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.5047, allocations: 354.1 kB / 1.611 GB, free: 67.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.505, allocations: 173.8 kB / 1.611 GB, free: 67.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.505, allocations: 41.69 kB / 1.611 GB, free: 67.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.5051, allocations: 101 kB / 1.611 GB, free: 66.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.5052, allocations: 116.3 kB / 1.611 GB, free: 66.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.5053, allocations: 4 kB / 1.611 GB, free: 66.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.5054, allocations: 334.8 kB / 1.611 GB, free: 66.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.5058, allocations: 102.3 kB / 1.611 GB, free: 66.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.5063, allocations: 181.6 kB / 1.612 GB, free: 66.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.5068, allocations: 118.8 kB / 1.612 GB, free: 66.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5068, allocations: 3.938 kB / 1.612 GB, free: 66.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001222/0.508, allocations: 369.7 kB / 1.612 GB, free: 65.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.5081, allocations: 4.719 kB / 1.612 GB, free: 65.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5081, allocations: 4 kB / 1.612 GB, free: 65.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.5082, allocations: 5.969 kB / 1.612 GB, free: 65.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.5089, allocations: 83.77 kB / 1.612 GB, free: 65.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5089, allocations: 4 kB / 1.612 GB, free: 65.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.5095, allocations: 62.34 kB / 1.612 GB, free: 65.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.5096, allocations: 27.91 kB / 1.612 GB, free: 65.55 MB / 0.8073 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.0002278/0.5098, allocations: 155.6 kB / 1.612 GB, free: 65.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.5099, allocations: 28.48 kB / 1.612 GB, free: 65.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.511, allocations: 361.1 kB / 1.613 GB, free: 65.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.511, allocations: 8 kB / 1.613 GB, free: 65.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.511, allocations: 7.953 kB / 1.613 GB, free: 65.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.511, allocations: 7.984 kB / 1.613 GB, free: 65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.5115, allocations: 346.7 kB / 1.613 GB, free: 64.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5115, allocations: 4 kB / 1.613 GB, free: 64.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.5121, allocations: 76.27 kB / 1.613 GB, free: 64.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.5121, allocations: 8.375 kB / 1.613 GB, free: 64.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.5122, allocations: 12.59 kB / 1.613 GB, free: 64.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.5122, allocations: 8 kB / 1.613 GB, free: 64.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5122, allocations: 14.92 kB / 1.613 GB, free: 64.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.5132, allocations: 493 kB / 1.614 GB, free: 63.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.5134, allocations: 148.5 kB / 1.614 GB, free: 63.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.5135, allocations: 19.98 kB / 1.614 GB, free: 63.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.5139, allocations: 38.59 kB / 1.614 GB, free: 63.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5141, allocations: 53.11 kB / 1.614 GB, free: 63.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.5142, allocations: 20 kB / 1.614 GB, free: 63.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001273/0.5143, allocations: 132.3 kB / 1.614 GB, free: 63.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5143, allocations: 4 kB / 1.614 GB, free: 63.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008821/0.5152, allocations: 211.7 kB / 1.614 GB, free: 63.34 MB / 0.8073 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.0007068/0.5159, allocations: 326.2 kB / 1.615 GB, free: 63.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009509/0.5169, allocations: 315.5 kB / 1.615 GB, free: 62.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5169, allocations: 0 / 1.615 GB, free: 62.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.5174, allocations: 187.7 kB / 1.615 GB, free: 62.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.5178, allocations: 37.72 kB / 1.615 GB, free: 62.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5191, allocations: 0.6255 MB / 1.616 GB, free: 61.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.5193, allocations: 0.7691 MB / 1.616 GB, free: 61.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004068/0.5198, allocations: 60.36 kB / 1.617 GB, free: 60.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.52, allocations: 47.42 kB / 1.617 GB, free: 60.91 MB / 0.8073 GB Notification: Performance of SimCode: time 9.61e-07/0.52, allocations: 0 / 1.617 GB, free: 60.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.01251/0.5325, allocations: 4.692 MB / 1.621 GB, free: 56.24 MB / 0.8073 GB