Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadModel(Buildings): time 4.152/4.152, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.237e-05, allocations: 3.719 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1757, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.3706, allocations: 126.2 MB / 0.758 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3709, allocations: 71.95 kB / 0.7581 GB, free: 3.438 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57: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.05295/0.4239, allocations: 10.29 MB / 0.7681 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.865e-06/0.424, allocations: 0 / 0.7681 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.424, allocations: 4 kB / 0.7681 GB, free: 9.121 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.001542/0.4256, allocations: 0.6015 MB / 0.7687 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4256, allocations: 8.031 kB / 0.7687 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.4257, allocations: 23.72 kB / 0.7687 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.4259, allocations: 194.7 kB / 0.7689 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.4263, allocations: 126.8 kB / 0.769 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.4264, allocations: 20 kB / 0.7691 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.427, allocations: 251.6 kB / 0.7693 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.427, allocations: 0 / 0.7693 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.4271, allocations: 8 kB / 0.7693 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4271, allocations: 4 kB / 0.7693 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.4274, allocations: 119.8 kB / 0.7694 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.4289, allocations: 0.9512 MB / 0.7704 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.4308, allocations: 487.4 kB / 0.7708 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.4312, allocations: 154.6 kB / 0.771 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.4313, allocations: 11.94 kB / 0.771 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.4318, allocations: 315.9 kB / 0.7713 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 4.312e-06/0.4319, allocations: 0 / 0.7713 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001079/0.433, allocations: 317 kB / 0.7716 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/0.4332, allocations: 354.2 kB / 0.7719 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.4334, allocations: 153.6 kB / 0.7721 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.4335, allocations: 41.64 kB / 0.7721 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.4336, allocations: 104.9 kB / 0.7722 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4338, allocations: 110.5 kB / 0.7723 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.4338, allocations: 8 kB / 0.7723 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.434, allocations: 338.8 kB / 0.7726 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.4343, allocations: 93.11 kB / 0.7727 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.4348, allocations: 180.4 kB / 0.7729 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.4351, allocations: 99.89 kB / 0.773 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.747e-06/0.4352, allocations: 0 / 0.773 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009451/0.4361, allocations: 357.1 kB / 0.7733 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4361, allocations: 13.81 kB / 0.7733 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.815e-06/0.4362, allocations: 4 kB / 0.7734 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.4362, allocations: 7.953 kB / 0.7734 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.4369, allocations: 79.81 kB / 0.7734 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.4369, allocations: 4 kB / 0.7734 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.4374, allocations: 55.66 kB / 0.7735 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.4374, allocations: 23.98 kB / 0.7735 GB, free: 3.008 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): 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.000202/0.4377, allocations: 136 kB / 0.7736 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.4378, allocations: 23.8 kB / 0.7737 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/0.4388, allocations: 358.4 kB / 0.774 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.4388, allocations: 8.125 kB / 0.774 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/0.4389, allocations: 15.95 kB / 0.774 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.4389, allocations: 4 kB / 0.774 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.4395, allocations: 345.1 kB / 0.7744 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.575e-06/0.4395, allocations: 4 kB / 0.7744 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.44, allocations: 75.84 kB / 0.7744 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.44, allocations: 4 kB / 0.7744 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.44, allocations: 19.98 kB / 0.7745 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.4401, allocations: 4.375 kB / 0.7745 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.894e-06/0.4401, allocations: 4 kB / 0.7745 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.4413, allocations: 0.6058 MB / 0.7751 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.4416, allocations: 140.6 kB / 0.7752 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.4417, allocations: 23.92 kB / 0.7752 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4421, allocations: 35.98 kB / 0.7753 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.4423, allocations: 59.81 kB / 0.7753 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/0.4424, allocations: 20 kB / 0.7753 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002564/0.4427, allocations: 131.2 kB / 0.7755 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.195e-06/0.4427, allocations: 0 / 0.7755 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001156/0.4439, allocations: 215.7 kB / 0.7757 GB, free: 0.5977 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.000785/0.4447, allocations: 330.9 kB / 0.776 GB, free: 276 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.4348/0.8795, allocations: 305.1 kB / 0.7763 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.111e-06/0.8796, allocations: 0 / 0.7763 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.8803, allocations: 179.3 kB / 0.7764 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.8807, allocations: 23.58 kB / 0.7765 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.8822, allocations: 436.7 kB / 0.7769 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.8826, allocations: 0.7655 MB / 0.7776 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005464/0.8831, allocations: 54.94 kB / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.8834, allocations: 47.02 kB / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.051e-06/0.8834, allocations: 0 / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01871/0.9021, allocations: 4.689 MB / 0.7823 GB, free: 137.3 MB / 0.6511 GB