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.01719/0.01719, allocations: 224 kB / 15.17 MB, free: 6 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.00177/0.00177, allocations: 179.9 kB / 16.06 MB, free: 5.867 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.676/3.676, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.594/4.594, allocations: 472.3 MB / 0.9018 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004868, allocations: 8 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5747, allocations: 98.71 MB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001638/0.5764, allocations: 1.368 MB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.579, allocations: 1.855 MB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.5792, allocations: 2.594 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.5792, allocations: 13.12 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.5794, allocations: 40.72 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.5805, allocations: 367.1 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.5808, allocations: 260.3 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.5809, allocations: 13.06 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.5811, allocations: 121.2 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.5813, allocations: 135 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.5813, allocations: 11.62 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006592/0.582, allocations: 266.7 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.5821, allocations: 60.81 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.5822, allocations: 57.73 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.5827, allocations: 381.7 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5828, allocations: 1.344 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.99e-06/0.5828, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.82e-06/0.5828, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 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.0013/0.5841, allocations: 0.6232 MB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5841, allocations: 9.531 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.5842, allocations: 24.08 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5843, allocations: 188.4 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.5845, allocations: 129.6 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.5846, allocations: 16.75 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.585, allocations: 250.3 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.585, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.5851, allocations: 8.969 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.973e-06/0.5851, allocations: 7.375 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.5854, allocations: 125.7 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.5863, allocations: 0.9477 MB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.5879, allocations: 495.8 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.5882, allocations: 150.5 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.5883, allocations: 17.84 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/0.5888, allocations: 314.9 kB / 1.112 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 4.282e-06/0.5888, allocations: 0 / 1.112 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.00107/0.5899, allocations: 406.5 kB / 1.112 GB, free: 207 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.59, allocations: 352.8 kB / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.5902, allocations: 174.1 kB / 1.113 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.5902, allocations: 45.33 kB / 1.113 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.5903, allocations: 107.9 kB / 1.113 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.5904, allocations: 113.1 kB / 1.113 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.5905, allocations: 9.906 kB / 1.113 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.5905, allocations: 332.8 kB / 1.113 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.5909, allocations: 107.7 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.5913, allocations: 180.5 kB / 1.114 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.5918, allocations: 116.9 kB / 1.114 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.803e-06/0.5918, allocations: 3.625 kB / 1.114 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001099/0.5929, allocations: 365.4 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.593, allocations: 10.23 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.593, allocations: 4.078 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.593, allocations: 5.156 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.5935, allocations: 78.91 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5935, allocations: 9.109 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.5939, allocations: 59.78 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.594, allocations: 17.38 kB / 1.114 GB, free: 205.6 MB / 0.7292 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.0001919/0.5942, allocations: 154.3 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.5943, allocations: 24.09 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.5952, allocations: 371.7 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5952, allocations: 8.844 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5952, allocations: 4.094 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.5952, allocations: 6.328 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.5957, allocations: 345.6 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.877e-06/0.5957, allocations: 3.125 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.5961, allocations: 76.94 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.5962, allocations: 8.062 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.5962, allocations: 18.98 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.5962, allocations: 9.922 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.582e-06/0.5962, allocations: 2.312 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.5971, allocations: 491.6 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.5974, allocations: 155.3 kB / 1.116 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.5975, allocations: 14.41 kB / 1.116 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.5982, allocations: 38.84 kB / 1.116 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.5984, allocations: 58.62 kB / 1.116 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/0.5985, allocations: 19.47 kB / 1.116 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001923/0.5987, allocations: 138.1 kB / 1.116 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.13e-07/0.5987, allocations: 3.938 kB / 1.116 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001495/0.6002, allocations: 202.7 kB / 1.116 GB, free: 204.4 MB / 0.7292 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.001189/0.6015, allocations: 323.4 kB / 1.117 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.6029, allocations: 310.9 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.605e-06/0.603, allocations: 1.531 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.6036, allocations: 189.4 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.6043, allocations: 44.12 kB / 1.117 GB, free: 204 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6063, allocations: 0.6284 MB / 1.118 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6066, allocations: 0.7672 MB / 1.119 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006301/0.6072, allocations: 58.94 kB / 1.119 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.6075, allocations: 50.38 kB / 1.119 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.967e-06/0.6076, allocations: 0 / 1.119 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.02361/0.6312, allocations: 5.034 MB / 1.124 GB, free: 202.8 MB / 0.7292 GB