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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01224/0.01225, allocations: 221.6 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.00186/0.00186, allocations: 176.8 kB / 16.06 MB, free: 5.832 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.914/3.914, allocations: 389.1 MB / 405.9 MB, free: 13.23 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.33/4.33, allocations: 472.3 MB / 0.9018 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.000494, allocations: 8 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6154, allocations: 98.72 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001686/0.6171, allocations: 1.366 MB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.6198, allocations: 1.857 MB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.62, allocations: 6.062 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.62, allocations: 6.047 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.6203, allocations: 37.83 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.6214, allocations: 371.4 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.6217, allocations: 258.1 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.691e-05/0.6218, allocations: 13.75 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.622, allocations: 117.1 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.6222, allocations: 145.7 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.6223, allocations: 12.22 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.623, allocations: 259.6 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.6231, allocations: 62.42 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.6232, allocations: 60.14 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.6238, allocations: 374.1 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6238, allocations: 1.375 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.986e-06/0.6238, allocations: 0 / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.596e-06/0.6238, allocations: 0 / 1.109 GB, free: 210.1 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.001337/0.6252, allocations: 0.6223 MB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6252, allocations: 9.562 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.6253, allocations: 23.98 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6255, allocations: 189 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.6257, allocations: 130.1 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.6257, allocations: 17 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.6262, allocations: 249.9 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6262, allocations: 4.688 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.6262, allocations: 7.234 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.6263, allocations: 5.25 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.6266, allocations: 130.4 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/0.6275, allocations: 0.9483 MB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.6292, allocations: 491.7 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.6294, allocations: 148.8 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.6295, allocations: 23.11 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.63, allocations: 311.5 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 4.657e-06/0.63, allocations: 3.25 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.001061/0.6311, allocations: 405 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.6312, allocations: 354 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.6314, allocations: 175.1 kB / 1.113 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.6315, allocations: 41.72 kB / 1.113 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.6315, allocations: 103.6 kB / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.6316, allocations: 117.2 kB / 1.113 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.6317, allocations: 10.84 kB / 1.113 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.6318, allocations: 331.2 kB / 1.113 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.6321, allocations: 108.3 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.6325, allocations: 179.6 kB / 1.114 GB, free: 206 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.6329, allocations: 116.5 kB / 1.114 GB, free: 206 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.347e-06/0.6329, allocations: 3.938 kB / 1.114 GB, free: 206 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001009/0.6339, allocations: 363.1 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.634, allocations: 9.953 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.961e-06/0.634, allocations: 2.188 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.634, allocations: 7.125 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.6345, allocations: 82.58 kB / 1.114 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.6346, allocations: 9.203 kB / 1.114 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.635, allocations: 60.03 kB / 1.114 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.635, allocations: 21.59 kB / 1.114 GB, free: 205.8 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.0001918/0.6352, allocations: 147.4 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.6353, allocations: 29.97 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009021/0.6363, allocations: 366.8 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.6363, allocations: 8.344 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.6363, allocations: 5.812 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.6363, allocations: 5.062 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.6368, allocations: 348.6 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-06/0.6368, allocations: 2.562 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.6372, allocations: 77.17 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.6372, allocations: 8.344 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.6373, allocations: 17.73 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.6373, allocations: 10.58 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.564e-06/0.6373, allocations: 3.531 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/0.6382, allocations: 495.3 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.6384, allocations: 151.7 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.6385, allocations: 16.88 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.6389, allocations: 44.7 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.639, allocations: 49.58 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.6391, allocations: 24.02 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001256/0.6392, allocations: 136.2 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.453e-06/0.6393, allocations: 3.438 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008132/0.6401, allocations: 208.1 kB / 1.116 GB, free: 204.6 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.0006046/0.6407, allocations: 315.7 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.6416, allocations: 318.5 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.79e-06/0.6416, allocations: 1.344 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.642, allocations: 187.7 kB / 1.117 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.6424, allocations: 43.27 kB / 1.117 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.6436, allocations: 0.6303 MB / 1.118 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.6439, allocations: 0.7642 MB / 1.119 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003874/0.6443, allocations: 59.47 kB / 1.119 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.6445, allocations: 47.42 kB / 1.119 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.83e-06/0.6445, allocations: 3.938 kB / 1.119 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.0138/0.6583, allocations: 5.039 MB / 1.124 GB, free: 203 MB / 0.7292 GB