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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.975/3.975, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.203e-05, allocations: 3.812 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.5096, allocations: 126.2 MB / 0.758 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.51, allocations: 71.97 kB / 0.7581 GB, free: 3.438 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.05427/0.5643, allocations: 10.28 MB / 0.7681 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.709e-06/0.5643, allocations: 3.984 kB / 0.7681 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5643, allocations: 4 kB / 0.7681 GB, free: 9.129 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.001783/0.5661, allocations: 0.5954 MB / 0.7687 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.5662, allocations: 16.03 kB / 0.7687 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.398e-05/0.5663, allocations: 50.53 kB / 0.7688 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.5664, allocations: 31.59 kB / 0.7688 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.5666, allocations: 186.8 kB / 0.769 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.5668, allocations: 130.7 kB / 0.7691 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.5669, allocations: 16 kB / 0.7691 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.5674, allocations: 251.6 kB / 0.7693 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5674, allocations: 4 kB / 0.7693 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.5675, allocations: 8 kB / 0.7694 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5675, allocations: 4 kB / 0.7694 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.5679, allocations: 123.8 kB / 0.7695 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.5692, allocations: 0.9473 MB / 0.7704 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.5717, allocations: 487.5 kB / 0.7709 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.5721, allocations: 158.5 kB / 0.771 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.5722, allocations: 7.984 kB / 0.771 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006371/0.5728, allocations: 315.9 kB / 0.7713 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.847e-06/0.5728, allocations: 0 / 0.7713 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001014/0.5739, allocations: 305 kB / 0.7716 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.5741, allocations: 358.2 kB / 0.772 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.5743, allocations: 157.5 kB / 0.7721 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.5744, allocations: 37.7 kB / 0.7721 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.5745, allocations: 101 kB / 0.7722 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.5747, allocations: 118.4 kB / 0.7724 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.5747, allocations: 4 kB / 0.7724 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5749, allocations: 334.8 kB / 0.7727 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.5752, allocations: 97.05 kB / 0.7728 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.5756, allocations: 168.5 kB / 0.7729 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.576, allocations: 116 kB / 0.773 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.576, allocations: 0 / 0.773 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001052/0.5771, allocations: 353 kB / 0.7734 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5772, allocations: 8 kB / 0.7734 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5772, allocations: 4 kB / 0.7734 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.5772, allocations: 7.953 kB / 0.7734 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.578, allocations: 83.81 kB / 0.7735 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.578, allocations: 4 kB / 0.7735 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.5786, allocations: 55.66 kB / 0.7735 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.5787, allocations: 19.98 kB / 0.7736 GB, free: 2.961 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.0002034/0.5789, allocations: 144 kB / 0.7737 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.579, allocations: 23.72 kB / 0.7737 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.5802, allocations: 358.4 kB / 0.7741 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.5802, allocations: 11.95 kB / 0.7741 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.5802, allocations: 4 kB / 0.7741 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5803, allocations: 4 kB / 0.7741 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.5809, allocations: 357.1 kB / 0.7744 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.5809, allocations: 4 kB / 0.7744 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.5815, allocations: 67.84 kB / 0.7745 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.5815, allocations: 8 kB / 0.7745 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.5816, allocations: 19.98 kB / 0.7745 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.5816, allocations: 4 kB / 0.7745 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.5816, allocations: 11.89 kB / 0.7745 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.5829, allocations: 0.6019 MB / 0.7751 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.5832, allocations: 144.5 kB / 0.7752 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.5833, allocations: 19.98 kB / 0.7753 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.5838, allocations: 32.23 kB / 0.7753 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.5839, allocations: 55.89 kB / 0.7754 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.584, allocations: 31.98 kB / 0.7754 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001596/0.5842, allocations: 123.2 kB / 0.7755 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5842, allocations: 4 kB / 0.7755 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009552/0.5852, allocations: 215.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.5479/1.133, allocations: 2.11 MB / 0.7778 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009983/1.134, allocations: 303.8 kB / 0.7781 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.134, allocations: 0.8125 kB / 0.7781 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/1.135, allocations: 179.7 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.0002774/1.135, allocations: 25.09 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.001786/1.137, allocations: 0.5687 MB / 0.7788 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.137, allocations: 0.7705 MB / 0.7796 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000409/1.137, allocations: 55.06 kB / 0.7796 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/1.138, allocations: 95.95 kB / 0.7797 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.954e-06/1.138, allocations: 3.828 kB / 0.7797 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/1.175, allocations: 7.027 MB / 0.7866 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.175, allocations: 182.1 kB / 0.7867 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.801, allocations: 0 / 0.7867 GB, free: 135.5 MB / 0.6511 GB