Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.986/3.986, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.206e-05, allocations: 3.281 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 98.73 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.4884, allocations: 126.2 MB / 0.758 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4887, allocations: 75.94 kB / 0.7581 GB, free: 3.391 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.05533/0.5441, allocations: 10.28 MB / 0.7681 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5441, allocations: 0 / 0.7681 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5441, allocations: 4 kB / 0.7681 GB, free: 9.09 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.001862/0.546, allocations: 0.6071 MB / 0.7687 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5461, allocations: 8.031 kB / 0.7687 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.465e-05/0.5462, allocations: 54.48 kB / 0.7688 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/0.5463, allocations: 27.66 kB / 0.7688 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.5464, allocations: 190.7 kB / 0.769 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.5467, allocations: 122.8 kB / 0.7691 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.5468, allocations: 23.98 kB / 0.7691 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.5474, allocations: 243.7 kB / 0.7693 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5474, allocations: 0 / 0.7693 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.5474, allocations: 8 kB / 0.7694 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5474, allocations: 8 kB / 0.7694 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.5479, allocations: 123.7 kB / 0.7695 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.5492, allocations: 0.9511 MB / 0.7704 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.5518, allocations: 491.4 kB / 0.7709 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.5521, allocations: 154.6 kB / 0.771 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.746e-05/0.5522, allocations: 8 kB / 0.771 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006473/0.5529, allocations: 311.9 kB / 0.7713 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.497e-06/0.5529, allocations: 0 / 0.7713 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001019/0.5539, allocations: 313.1 kB / 0.7716 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.5542, allocations: 358.2 kB / 0.772 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.5544, allocations: 157.2 kB / 0.7721 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.5545, allocations: 41.69 kB / 0.7722 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.5546, allocations: 97.05 kB / 0.7722 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.5548, allocations: 118.4 kB / 0.7724 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.5548, allocations: 8 kB / 0.7724 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.555, allocations: 326.8 kB / 0.7727 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.5554, allocations: 105 kB / 0.7728 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.5558, allocations: 168.5 kB / 0.7729 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.5562, allocations: 116 kB / 0.7731 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.5562, allocations: 0 / 0.7731 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001027/0.5573, allocations: 341 kB / 0.7734 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5573, allocations: 12 kB / 0.7734 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5573, allocations: 0 / 0.7734 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5573, allocations: 7.953 kB / 0.7734 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/0.5581, allocations: 83.81 kB / 0.7735 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.5581, allocations: 4 kB / 0.7735 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.5587, allocations: 63.66 kB / 0.7735 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.5588, allocations: 19.98 kB / 0.7736 GB, free: 2.914 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.0001937/0.559, allocations: 144 kB / 0.7737 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.5591, allocations: 24.09 kB / 0.7737 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.5602, allocations: 346.2 kB / 0.7741 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.5603, allocations: 19.95 kB / 0.7741 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.5603, allocations: 4 kB / 0.7741 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.5603, allocations: 7.922 kB / 0.7741 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.5609, allocations: 349.1 kB / 0.7744 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.561, allocations: 4 kB / 0.7744 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/0.5616, allocations: 76.27 kB / 0.7745 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.5616, allocations: 8 kB / 0.7745 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.5616, allocations: 16 kB / 0.7745 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.5617, allocations: 11.98 kB / 0.7745 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.5617, allocations: 11.89 kB / 0.7745 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.5629, allocations: 0.5941 MB / 0.7751 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.5632, allocations: 152.5 kB / 0.7753 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.5633, allocations: 16 kB / 0.7753 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.5638, allocations: 35.97 kB / 0.7753 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.564, allocations: 55.89 kB / 0.7754 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.564, allocations: 23.98 kB / 0.7754 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001785/0.5642, allocations: 127.2 kB / 0.7755 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5642, allocations: 0 / 0.7755 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009275/0.5652, allocations: 215.7 kB / 0.7757 GB, free: 0.4961 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.5498/1.115, allocations: 2.105 MB / 0.7778 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009666/1.116, allocations: 303.3 kB / 0.7781 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.116, allocations: 3.406 kB / 0.7781 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000476/1.116, allocations: 179.9 kB / 0.7782 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/1.117, allocations: 21.06 kB / 0.7783 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/1.119, allocations: 0.5774 MB / 0.7788 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/1.119, allocations: 0.7673 MB / 0.7796 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004136/1.119, allocations: 57.8 kB / 0.7796 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/1.12, allocations: 94.16 kB / 0.7797 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.393e-06/1.12, allocations: 3.828 kB / 0.7797 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/1.155, allocations: 7.021 MB / 0.7866 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.155, allocations: 180.8 kB / 0.7867 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.726, allocations: 1.438 kB / 0.7867 GB, free: 135.5 MB / 0.6511 GB