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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009268/0.009272, allocations: 108.2 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001186/0.001186, allocations: 184.4 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.138/2.138, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.328/2.328, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 12 kB / 0.587 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5647, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001652/0.5664, allocations: 1.32 MB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.5693, allocations: 1.76 MB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.5695, allocations: 0 / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.5695, allocations: 13.52 kB / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.5698, allocations: 46.86 kB / 0.6864 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.571, allocations: 365.2 kB / 0.6868 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.5713, allocations: 179.7 kB / 0.6869 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.5714, allocations: 19.66 kB / 0.687 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.5717, allocations: 135.2 kB / 0.6871 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.5719, allocations: 133.5 kB / 0.6872 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.572, allocations: 12.81 kB / 0.6872 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.5728, allocations: 277.8 kB / 0.6875 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.5729, allocations: 56.7 kB / 0.6875 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.573, allocations: 66.61 kB / 0.6876 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.5737, allocations: 373.9 kB / 0.688 GB, free: 14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.199e-06/0.5738, allocations: 1 kB / 0.688 GB, free: 14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.401e-06/0.5738, allocations: 0 / 0.688 GB, free: 14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.5738, allocations: 0 / 0.688 GB, free: 14 MB / 0.5261 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.001362/0.5752, allocations: 0.6186 MB / 0.6886 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5752, allocations: 8.688 kB / 0.6886 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.5753, allocations: 27.69 kB / 0.6886 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.5754, allocations: 187.6 kB / 0.6888 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.5756, allocations: 129.5 kB / 0.6889 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.5757, allocations: 21.11 kB / 0.6889 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.5761, allocations: 240.6 kB / 0.6892 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5762, allocations: 5.719 kB / 0.6892 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.5762, allocations: 7.906 kB / 0.6892 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.5762, allocations: 4.375 kB / 0.6892 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.5766, allocations: 126.5 kB / 0.6893 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009542/0.5776, allocations: 0.9498 MB / 0.6902 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.5793, allocations: 498.4 kB / 0.6907 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.5794, allocations: 10.69 kB / 0.6907 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.5799, allocations: 317 kB / 0.691 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.545e-06/0.5799, allocations: 0 / 0.691 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.001129/0.5811, allocations: 395.7 kB / 0.6914 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.5812, allocations: 354.9 kB / 0.6917 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.5814, allocations: 178.2 kB / 0.6919 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.5815, allocations: 39.23 kB / 0.6919 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.5816, allocations: 104.4 kB / 0.692 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5817, allocations: 109.5 kB / 0.6921 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.5817, allocations: 10 kB / 0.6921 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.5818, allocations: 331 kB / 0.6925 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.5822, allocations: 105.4 kB / 0.6926 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.5826, allocations: 183.5 kB / 0.6927 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.583, allocations: 115.9 kB / 0.6928 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.218e-06/0.5831, allocations: 1 kB / 0.6928 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001068/0.5841, allocations: 370.5 kB / 0.6932 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5842, allocations: 9.547 kB / 0.6932 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.126e-06/0.5842, allocations: 6.219 kB / 0.6932 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.5842, allocations: 5.188 kB / 0.6932 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.5848, allocations: 80.92 kB / 0.6933 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.5848, allocations: 5.266 kB / 0.6933 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.5852, allocations: 65.47 kB / 0.6934 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.5853, allocations: 26.05 kB / 0.6934 GB, free: 9.785 MB / 0.5261 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 () * Number of clocked 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.0002124/0.5855, allocations: 149.9 kB / 0.6935 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/0.5856, allocations: 30 kB / 0.6936 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009698/0.5866, allocations: 355.9 kB / 0.6939 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5866, allocations: 9 kB / 0.6939 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.5867, allocations: 4.25 kB / 0.6939 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.5867, allocations: 6.469 kB / 0.6939 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.5872, allocations: 353.2 kB / 0.6943 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.365e-06/0.5872, allocations: 3.688 kB / 0.6943 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.5877, allocations: 70.8 kB / 0.6943 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.5877, allocations: 9.734 kB / 0.6943 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.5878, allocations: 18.09 kB / 0.6944 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.5878, allocations: 9.625 kB / 0.6944 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.5878, allocations: 12.8 kB / 0.6944 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.5889, allocations: 0.6087 MB / 0.695 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.5892, allocations: 147.2 kB / 0.6951 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.5893, allocations: 18.03 kB / 0.6951 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.5897, allocations: 40.36 kB / 0.6952 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.5898, allocations: 50.73 kB / 0.6952 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.5899, allocations: 26.78 kB / 0.6952 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001356/0.5901, allocations: 136.3 kB / 0.6954 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.79e-07/0.5901, allocations: 0 / 0.6954 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009174/0.591, allocations: 209.5 kB / 0.6956 GB, free: 8.344 MB / 0.5261 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) * Number of clocked states: 0 () * 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.0006925/0.5917, allocations: 317 kB / 0.6959 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009859/0.5927, allocations: 315.3 kB / 0.6962 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.493e-06/0.5927, allocations: 1 kB / 0.6962 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.5932, allocations: 185.8 kB / 0.6963 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.5935, allocations: 26.25 kB / 0.6964 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5949, allocations: 0.6326 MB / 0.697 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.5951, allocations: 0.7673 MB / 0.6977 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003788/0.5955, allocations: 55.81 kB / 0.6978 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.5957, allocations: 49.05 kB / 0.6978 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of SimCode: time 1.646e-06/0.5957, allocations: 0 / 0.6978 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of Templates: time 0.01273/0.6085, allocations: 5.034 MB / 0.7028 GB, free: 4.648 MB / 0.5261 GB