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.01065/0.01066, allocations: 221 kB / 15.17 MB, free: 5.93 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.001113/0.001113, allocations: 179.8 kB / 16.06 MB, free: 5.828 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.772/3.772, allocations: 389.1 MB / 405.9 MB, free: 11.83 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.152/4.152, allocations: 472.3 MB / 0.9018 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004814, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 98.72 MB / 1.104 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001383/0.132, allocations: 1.359 MB / 1.105 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1345, allocations: 1.86 MB / 1.107 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1346, allocations: 0 / 1.107 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.449e-05/0.1347, allocations: 11.86 kB / 1.107 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1349, allocations: 47.62 kB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1359, allocations: 368.3 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1362, allocations: 263.1 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.1363, allocations: 11.8 kB / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1365, allocations: 122.8 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1367, allocations: 135.6 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.1367, allocations: 12 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.1373, allocations: 275.6 kB / 1.108 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.1374, allocations: 55.84 kB / 1.108 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.1375, allocations: 59.36 kB / 1.108 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.138, allocations: 371.4 kB / 1.109 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.034e-06/0.138, allocations: 7.938 kB / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.199e-06/0.138, allocations: 0 / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.138, allocations: 0 / 1.109 GB, free: 37.11 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.001246/0.1393, allocations: 0.6176 MB / 1.109 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1393, allocations: 12.03 kB / 1.109 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.1394, allocations: 19.81 kB / 1.109 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1395, allocations: 186.8 kB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.1397, allocations: 130.7 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.1398, allocations: 23.98 kB / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.1402, allocations: 254 kB / 1.11 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1402, allocations: 4.703 kB / 1.11 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1403, allocations: 8 kB / 1.11 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1403, allocations: 7.406 kB / 1.11 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1406, allocations: 119.7 kB / 1.11 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.1415, allocations: 0.9573 MB / 1.111 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.143, allocations: 487.6 kB / 1.112 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.1433, allocations: 157.6 kB / 1.112 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.1433, allocations: 13.86 kB / 1.112 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.1438, allocations: 302.9 kB / 1.112 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 5.084e-06/0.1438, allocations: 1.125 kB / 1.112 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0009774/0.1448, allocations: 402.9 kB / 1.112 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.1449, allocations: 353.6 kB / 1.113 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1451, allocations: 179 kB / 1.113 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.1451, allocations: 37.7 kB / 1.113 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1452, allocations: 104.9 kB / 1.113 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.1453, allocations: 114.5 kB / 1.113 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1454, allocations: 7.938 kB / 1.113 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.1454, allocations: 336 kB / 1.114 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.1458, allocations: 101.1 kB / 1.114 GB, free: 31.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1461, allocations: 183.9 kB / 1.114 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1465, allocations: 122.2 kB / 1.114 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.705e-06/0.1465, allocations: 3.312 kB / 1.114 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009324/0.1475, allocations: 365.1 kB / 1.114 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1475, allocations: 8 kB / 1.114 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.875e-06/0.1475, allocations: 3.938 kB / 1.114 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1476, allocations: 4 kB / 1.114 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.148, allocations: 83.81 kB / 1.114 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1481, allocations: 4 kB / 1.114 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1484, allocations: 62.81 kB / 1.114 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.1485, allocations: 19.98 kB / 1.114 GB, free: 30.89 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.0001835/0.1487, allocations: 163.8 kB / 1.115 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.1488, allocations: 30.73 kB / 1.115 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.1496, allocations: 356.5 kB / 1.115 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1496, allocations: 12 kB / 1.115 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.1497, allocations: 6.75 kB / 1.115 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1497, allocations: 3.984 kB / 1.115 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1501, allocations: 349.1 kB / 1.115 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.1502, allocations: 11.89 kB / 1.115 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.1506, allocations: 67.91 kB / 1.115 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.1506, allocations: 11.98 kB / 1.115 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.1507, allocations: 16 kB / 1.115 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.1507, allocations: 6.594 kB / 1.115 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.175e-06/0.1507, allocations: 7.938 kB / 1.115 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.1515, allocations: 493.8 kB / 1.116 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.1518, allocations: 148.6 kB / 1.116 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.1518, allocations: 16.7 kB / 1.116 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.1522, allocations: 43.8 kB / 1.116 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.1524, allocations: 47.94 kB / 1.116 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1524, allocations: 16.59 kB / 1.116 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001161/0.1526, allocations: 136.2 kB / 1.116 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.35e-07/0.1526, allocations: 0 / 1.116 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007131/0.1533, allocations: 211.7 kB / 1.116 GB, free: 28.68 MB / 0.6042 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.0005479/0.1539, allocations: 310.3 kB / 1.117 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.1547, allocations: 325.1 kB / 1.117 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.565e-06/0.1547, allocations: 384 / 1.117 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.1551, allocations: 179.7 kB / 1.117 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1554, allocations: 36.12 kB / 1.117 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1566, allocations: 0.6379 MB / 1.118 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1568, allocations: 0.775 MB / 1.119 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003435/0.1571, allocations: 46.77 kB / 1.119 GB, free: 26.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.1573, allocations: 43.41 kB / 1.119 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.635e-06/0.1573, allocations: 0 / 1.119 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.01426/0.1716, allocations: 5.033 MB / 1.124 GB, free: 21.61 MB / 0.6042 GB