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.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.079/4.079, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.213e-05, allocations: 4.266 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2618/0.5171, allocations: 126.2 MB / 0.758 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5175, allocations: 67.97 kB / 0.7581 GB, free: 3.441 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.05665/0.5742, allocations: 10.28 MB / 0.7681 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5742, allocations: 4 kB / 0.7681 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.5742, allocations: 8 kB / 0.7681 GB, free: 9.133 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.001952/0.5762, allocations: 0.6046 MB / 0.7687 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.5763, allocations: 8.031 kB / 0.7687 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.107e-05/0.5764, allocations: 58.47 kB / 0.7688 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.5765, allocations: 23.72 kB / 0.7688 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.5767, allocations: 186.8 kB / 0.769 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.5769, allocations: 130.8 kB / 0.7691 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.577, allocations: 16 kB / 0.7691 GB, free: 8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.5776, allocations: 243.6 kB / 0.7693 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5777, allocations: 4 kB / 0.7693 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.5777, allocations: 7.984 kB / 0.7693 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5777, allocations: 4 kB / 0.7693 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.5782, allocations: 127.7 kB / 0.7695 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.5796, allocations: 0.9473 MB / 0.7704 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.5823, allocations: 491.5 kB / 0.7709 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.5827, allocations: 158.4 kB / 0.771 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.915e-05/0.5828, allocations: 11.98 kB / 0.771 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.5835, allocations: 307.9 kB / 0.7713 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 4.088e-06/0.5835, allocations: 4 kB / 0.7713 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001084/0.5846, allocations: 305 kB / 0.7716 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.5848, allocations: 358 kB / 0.772 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.5851, allocations: 161.6 kB / 0.7721 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.5852, allocations: 37.7 kB / 0.7721 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.5853, allocations: 105 kB / 0.7722 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.5855, allocations: 106.5 kB / 0.7723 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.5856, allocations: 12 kB / 0.7724 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5857, allocations: 334.8 kB / 0.7727 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.5861, allocations: 97.11 kB / 0.7728 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.5865, allocations: 172.4 kB / 0.7729 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.587, allocations: 112 kB / 0.773 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.587, allocations: 0 / 0.773 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001105/0.5881, allocations: 349 kB / 0.7734 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5881, allocations: 6.5 kB / 0.7734 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5882, allocations: 4 kB / 0.7734 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/0.5882, allocations: 7.953 kB / 0.7734 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.589, allocations: 83.81 kB / 0.7735 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.589, allocations: 4 kB / 0.7735 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.5897, allocations: 55.66 kB / 0.7735 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.5897, allocations: 23.98 kB / 0.7736 GB, free: 2.965 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.000208/0.59, allocations: 140 kB / 0.7737 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/0.5901, allocations: 24.09 kB / 0.7737 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.5913, allocations: 354.6 kB / 0.774 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.5913, allocations: 15.94 kB / 0.7741 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.5913, allocations: 4 kB / 0.7741 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.5914, allocations: 7.938 kB / 0.7741 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.592, allocations: 353.1 kB / 0.7744 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.592, allocations: 4 kB / 0.7744 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.5926, allocations: 75.84 kB / 0.7745 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.5927, allocations: 4 kB / 0.7745 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.5927, allocations: 19.98 kB / 0.7745 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.5928, allocations: 4 kB / 0.7745 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.5928, allocations: 11.89 kB / 0.7745 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.5941, allocations: 0.598 MB / 0.7751 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.5944, allocations: 152.7 kB / 0.7753 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.5945, allocations: 15.98 kB / 0.7753 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.595, allocations: 39.97 kB / 0.7753 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.5952, allocations: 51.89 kB / 0.7754 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.5953, allocations: 23.98 kB / 0.7754 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001763/0.5955, allocations: 131.2 kB / 0.7755 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5955, allocations: 0 / 0.7755 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001007/0.5965, allocations: 219.7 kB / 0.7757 GB, free: 0.5391 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.5355/1.132, allocations: 2.101 MB / 0.7778 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009714/1.133, allocations: 307.2 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.133, allocations: 0 / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/1.134, allocations: 180.9 kB / 0.7782 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.134, allocations: 21.36 kB / 0.7783 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/1.136, allocations: 0.5759 MB / 0.7788 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.136, allocations: 0.7658 MB / 0.7796 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004041/1.136, allocations: 58.86 kB / 0.7796 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.137, allocations: 93.25 kB / 0.7797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.137, allocations: 0 / 0.7797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/1.172, allocations: 7.008 MB / 0.7866 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/1.172, allocations: 160.8 kB / 0.7867 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.795, allocations: 0 / 0.7867 GB, free: 135.3 MB / 0.6511 GB