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 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00655/0.006555, allocations: 234.2 kB / 15.8 MB, free: 6.285 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.001899/0.001899, allocations: 179.2 kB / 16.69 MB, free: 5.449 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 4.037/4.037, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.23/4.23, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.000482, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 98.73 MB / 1.105 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001731/0.1814, allocations: 1.357 MB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.1845, allocations: 1.865 MB / 1.108 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1846, allocations: 0 / 1.108 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.1847, allocations: 11.86 kB / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.185, allocations: 42.91 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1863, allocations: 367 kB / 1.108 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.1866, allocations: 259.1 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.1867, allocations: 19.28 kB / 1.108 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1869, allocations: 111.7 kB / 1.109 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.1871, allocations: 135.5 kB / 1.109 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.1872, allocations: 15.41 kB / 1.109 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.188, allocations: 271.7 kB / 1.109 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.1881, allocations: 63.72 kB / 1.109 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.1882, allocations: 57.64 kB / 1.109 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.1888, allocations: 371.4 kB / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1888, allocations: 0 / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1888, allocations: 0 / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1888, allocations: 0 / 1.109 GB, free: 37.25 MB / 0.6042 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.001831/0.1907, allocations: 0.6326 MB / 1.11 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1907, allocations: 8.031 kB / 1.11 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.1908, allocations: 19.81 kB / 1.11 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.191, allocations: 190 kB / 1.11 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.1911, allocations: 134.7 kB / 1.11 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.1912, allocations: 17.45 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.1917, allocations: 256.8 kB / 1.111 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1917, allocations: 10.8 kB / 1.111 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.1918, allocations: 4 kB / 1.111 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1918, allocations: 4 kB / 1.111 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.1921, allocations: 119.7 kB / 1.111 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1932, allocations: 0.9547 MB / 1.112 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.1955, allocations: 491.5 kB / 1.112 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1958, allocations: 152.3 kB / 1.112 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.1959, allocations: 18.84 kB / 1.112 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.1964, allocations: 303 kB / 1.113 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 5.11e-06/0.1965, allocations: 1.266 kB / 1.113 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001161/0.1976, allocations: 407.5 kB / 1.113 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1977, allocations: 353.4 kB / 1.113 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1979, allocations: 170.5 kB / 1.113 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.198, allocations: 41.7 kB / 1.114 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.1981, allocations: 104.9 kB / 1.114 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1982, allocations: 110.5 kB / 1.114 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1982, allocations: 12.84 kB / 1.114 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.1983, allocations: 330.8 kB / 1.114 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.1987, allocations: 106.8 kB / 1.114 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.1992, allocations: 181.8 kB / 1.114 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1996, allocations: 115.2 kB / 1.114 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1996, allocations: 7.891 kB / 1.114 GB, free: 31.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001092/0.2007, allocations: 366.5 kB / 1.115 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2008, allocations: 4.375 kB / 1.115 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2008, allocations: 7.938 kB / 1.115 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.2008, allocations: 6.781 kB / 1.115 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.2015, allocations: 79.81 kB / 1.115 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.2016, allocations: 7.938 kB / 1.115 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.2021, allocations: 62.5 kB / 1.115 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.2022, allocations: 15.98 kB / 1.115 GB, free: 31.02 MB / 0.6042 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.0001828/0.2024, allocations: 156.7 kB / 1.115 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.2025, allocations: 31.66 kB / 1.115 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009958/0.2035, allocations: 364.5 kB / 1.116 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.2035, allocations: 7.125 kB / 1.116 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2035, allocations: 0 / 1.116 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.2037, allocations: 148.6 kB / 1.116 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.2038, allocations: 19.98 kB / 1.116 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.2043, allocations: 38.23 kB / 1.116 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2044, allocations: 51.83 kB / 1.116 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0014/0.2058, allocations: 1.364 MB / 1.117 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001118/0.207, allocations: 1.384 MB / 1.118 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003552/0.2073, allocations: 162.2 kB / 1.119 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001286/0.2075, allocations: 136 kB / 1.119 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of Backend: time 8.71e-07/0.2075, allocations: 0 / 1.119 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002844/0.2103, allocations: 459.4 kB / 1.119 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009717/0.2114, allocations: 0.8758 MB / 1.12 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.01379/0.2252, allocations: 5.236 MB / 1.125 GB, free: 20.88 MB / 0.6042 GB