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.004346/0.00435, allocations: 238 kB / 15.81 MB, free: 6.281 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.001173/0.001173, allocations: 183.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 3.999/3.999, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.418/4.418, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.0006652, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1931, allocations: 98.73 MB / 1.105 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001934/0.1951, allocations: 1.357 MB / 1.106 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1983, allocations: 1.861 MB / 1.108 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1985, allocations: 4 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.1985, allocations: 11.86 kB / 1.108 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1988, allocations: 46.08 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2002, allocations: 364.1 kB / 1.108 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2006, allocations: 259.1 kB / 1.108 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.39e-05/0.2007, allocations: 13.39 kB / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.2009, allocations: 128.2 kB / 1.109 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.2012, allocations: 135.5 kB / 1.109 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.2013, allocations: 12 kB / 1.109 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009122/0.2022, allocations: 271.7 kB / 1.109 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.2023, allocations: 59.78 kB / 1.109 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.2024, allocations: 61.62 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.2031, allocations: 367.4 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2031, allocations: 0 / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2031, allocations: 3.406 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2031, allocations: 0 / 1.109 GB, free: 37.23 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.001826/0.2049, allocations: 0.6207 MB / 1.11 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.205, allocations: 8.031 kB / 1.11 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.2051, allocations: 19.81 kB / 1.11 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2052, allocations: 195.1 kB / 1.11 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.2054, allocations: 130.7 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.2055, allocations: 22.75 kB / 1.11 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.206, allocations: 248.7 kB / 1.111 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.206, allocations: 3.953 kB / 1.111 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.2061, allocations: 11.98 kB / 1.111 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2061, allocations: 4.938 kB / 1.111 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.2064, allocations: 119.7 kB / 1.111 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2075, allocations: 0.9567 MB / 1.112 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.2098, allocations: 494.5 kB / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.2101, allocations: 150 kB / 1.112 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.2102, allocations: 15.91 kB / 1.112 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005587/0.2108, allocations: 306.7 kB / 1.113 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 5.811e-06/0.2108, allocations: 1.312 kB / 1.113 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.00116/0.212, allocations: 394.7 kB / 1.113 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.2121, allocations: 354.1 kB / 1.113 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2123, allocations: 176.2 kB / 1.113 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.2124, allocations: 42.23 kB / 1.114 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.2124, allocations: 111.6 kB / 1.114 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2126, allocations: 114.5 kB / 1.114 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2126, allocations: 4 kB / 1.114 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.2127, allocations: 334.8 kB / 1.114 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.2131, allocations: 101.1 kB / 1.114 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.2135, allocations: 187.4 kB / 1.114 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.214, allocations: 111.4 kB / 1.114 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2141, allocations: 3.953 kB / 1.114 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001134/0.2152, allocations: 365.7 kB / 1.115 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2152, allocations: 8 kB / 1.115 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2153, allocations: 3.938 kB / 1.115 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.2153, allocations: 8.172 kB / 1.115 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.216, allocations: 85.89 kB / 1.115 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.216, allocations: 11.92 kB / 1.115 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.2166, allocations: 55.67 kB / 1.115 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.2166, allocations: 19.98 kB / 1.115 GB, free: 31 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.0002189/0.2169, allocations: 161 kB / 1.115 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.217, allocations: 27.67 kB / 1.115 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.218, allocations: 359.5 kB / 1.116 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.218, allocations: 11.17 kB / 1.116 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.2181, allocations: 4 kB / 1.116 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.2183, allocations: 148.6 kB / 1.116 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.2184, allocations: 16 kB / 1.116 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.2188, allocations: 35.22 kB / 1.116 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.219, allocations: 60.95 kB / 1.116 GB, free: 30.19 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001372/0.2204, allocations: 1.355 MB / 1.117 GB, free: 28.83 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001113/0.2215, allocations: 1.381 MB / 1.118 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003907/0.2219, allocations: 156.4 kB / 1.119 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001272/0.2221, allocations: 135.2 kB / 1.119 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of Backend: time 1.412e-06/0.2221, allocations: 1.125 kB / 1.119 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002796/0.2249, allocations: 468.8 kB / 1.119 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001016/0.226, allocations: 0.8708 MB / 1.12 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.02095/0.247, allocations: 5.252 MB / 1.125 GB, free: 20.86 MB / 0.6042 GB