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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.014/4.014, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.974e-05, allocations: 4 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5314, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.7323, allocations: 125.6 MB / 0.7515 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/0.7327, allocations: 71.95 kB / 0.7516 GB, free: 1.922 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.08198/0.8148, allocations: 10.24 MB / 0.7616 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.165e-06/0.8148, allocations: 4 kB / 0.7616 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.8148, allocations: 4 kB / 0.7616 GB, free: 7.66 MB / 0.6355 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.001475/0.8163, allocations: 0.6031 MB / 0.7622 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.8164, allocations: 8.031 kB / 0.7622 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.8165, allocations: 31.72 kB / 0.7622 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.8167, allocations: 190.7 kB / 0.7624 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8167, allocations: 7.984 kB / 0.7624 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.8168, allocations: 19.98 kB / 0.7625 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003118/0.8171, allocations: 87.97 kB / 0.7625 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.8175, allocations: 239.4 kB / 0.7628 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.8176, allocations: 0 / 0.7628 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.8176, allocations: 3.984 kB / 0.7628 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.8176, allocations: 8 kB / 0.7628 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.8188, allocations: 0.9053 MB / 0.7637 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.8206, allocations: 479.6 kB / 0.7641 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.8209, allocations: 137.4 kB / 0.7642 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.8209, allocations: 15.98 kB / 0.7643 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005328/0.8215, allocations: 287.7 kB / 0.7645 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.981e-06/0.8215, allocations: 0 / 0.7645 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.003406/0.8249, allocations: 0.4968 MB / 0.765 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.8252, allocations: 350.1 kB / 0.7654 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.8254, allocations: 157.6 kB / 0.7655 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.8255, allocations: 33.7 kB / 0.7655 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.8256, allocations: 101.3 kB / 0.7656 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.8257, allocations: 110.6 kB / 0.7657 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.8258, allocations: 0 / 0.7657 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.826, allocations: 330.8 kB / 0.7661 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.8262, allocations: 89.11 kB / 0.7661 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.8266, allocations: 163.3 kB / 0.7663 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/0.8308, allocations: 451.5 kB / 0.7667 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.018e-06/0.8309, allocations: 0 / 0.7667 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004836/0.8357, allocations: 0.6453 MB / 0.7674 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.8358, allocations: 8.094 kB / 0.7674 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.451e-06/0.8358, allocations: 3.938 kB / 0.7674 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.8358, allocations: 4 kB / 0.7674 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.8363, allocations: 67.89 kB / 0.7674 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.8363, allocations: 7.953 kB / 0.7674 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.8367, allocations: 51.66 kB / 0.7675 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.8368, allocations: 23.98 kB / 0.7675 GB, free: 1.066 MB / 0.6355 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.000192/0.837, allocations: 120 kB / 0.7676 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.8371, allocations: 35.64 kB / 0.7677 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.838, allocations: 318.8 kB / 0.768 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.838, allocations: 8 kB / 0.768 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.8381, allocations: 7.984 kB / 0.768 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.8381, allocations: 7.953 kB / 0.768 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.8386, allocations: 297.7 kB / 0.7683 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.242e-06/0.8387, allocations: 448 / 0.7683 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.8391, allocations: 79.83 kB / 0.7684 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.8391, allocations: 8 kB / 0.7684 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.8391, allocations: 16 kB / 0.7684 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.8392, allocations: 11.98 kB / 0.7684 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.604e-06/0.8392, allocations: 0 / 0.7684 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.8428, allocations: 0.7773 MB / 0.7691 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.8431, allocations: 148.5 kB / 0.7693 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.8432, allocations: 7.984 kB / 0.7693 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.8435, allocations: 31.98 kB / 0.7693 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.8437, allocations: 55.81 kB / 0.7694 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.8437, allocations: 24 kB / 0.7694 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001588/0.8439, allocations: 119.2 kB / 0.7695 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.89e-07/0.8439, allocations: 0 / 0.7695 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008757/0.8448, allocations: 203.7 kB / 0.7697 GB, free: 14.62 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.0006993/0.8455, allocations: 309.1 kB / 0.77 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.8483, allocations: 2.97 MB / 0.7729 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.814e-06/0.8483, allocations: 0 / 0.7729 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.8487, allocations: 167.7 kB / 0.7731 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.849, allocations: 21.02 kB / 0.7731 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.8501, allocations: 408.2 kB / 0.7735 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.8506, allocations: 0.7651 MB / 0.7742 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.851, allocations: 59.92 kB / 0.7743 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.8511, allocations: 47.41 kB / 0.7743 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of SimCode: time 1.796e-06/0.8511, allocations: 0 / 0.7743 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of Templates: time 0.01283/0.864, allocations: 4.714 MB / 0.7789 GB, free: 5.004 MB / 0.6511 GB