Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.445/5.445, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002474, allocations: 363.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.519/4.519, allocations: 410.7 MB / 1.113 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001874/0.001874, allocations: 175.8 kB / 1.226 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005574, allocations: 12 kB / 1.349 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8392, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001092/0.8404, allocations: 0.5843 MB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.844, allocations: 2.329 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.8442, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.8442, allocations: 17.67 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.8445, allocations: 35.75 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.8458, allocations: 363.3 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.8462, allocations: 259.8 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.8463, allocations: 15.31 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.8466, allocations: 127.3 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.8469, allocations: 131.6 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.8469, allocations: 12 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008801/0.8478, allocations: 271.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.8479, allocations: 59.83 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.848, allocations: 58.53 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.8488, allocations: 380 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.8488, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8488, allocations: 1.156 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.8488, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 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.00194/0.8508, allocations: 0.6223 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.8509, allocations: 16.23 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.851, allocations: 23.72 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8511, allocations: 188.7 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.8513, allocations: 122.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.8514, allocations: 20 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.8519, allocations: 251 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.8519, allocations: 2.922 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.852, allocations: 8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.852, allocations: 5.25 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.8524, allocations: 119.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.8535, allocations: 0.9512 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.856, allocations: 494.6 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.8563, allocations: 153.4 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.8564, allocations: 13.47 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/0.857, allocations: 315.7 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/0.857, allocations: 1.031 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.001181/0.8582, allocations: 409 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.8584, allocations: 348.6 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.8586, allocations: 174.5 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.8586, allocations: 41.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.8587, allocations: 113.5 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.8588, allocations: 118.5 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.8589, allocations: 9 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.859, allocations: 330.8 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.8594, allocations: 106.1 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.8599, allocations: 182 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.8603, allocations: 114.5 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8604, allocations: 0.9688 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001182/0.8615, allocations: 369.6 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8616, allocations: 8.625 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8616, allocations: 0.8125 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.8617, allocations: 7.953 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.8624, allocations: 87.33 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.8624, allocations: 4 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.863, allocations: 58.09 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.863, allocations: 20.77 kB / 1.471 GB, free: 273.5 MB / 0.8542 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.0002155/0.8633, allocations: 150.7 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.8634, allocations: 23.72 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.8644, allocations: 361.5 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.8645, allocations: 8.547 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8645, allocations: 4 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.8647, allocations: 153.3 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.8648, allocations: 16 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.8653, allocations: 39.44 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.8655, allocations: 56.55 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001428/0.8669, allocations: 1.356 MB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00118/0.8681, allocations: 1.375 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004117/0.8686, allocations: 165.6 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001346/0.8687, allocations: 131.5 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of Backend: time 8.91e-07/0.8688, allocations: 0 / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.8716, allocations: 479.8 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001064/0.8727, allocations: 0.8706 MB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01434/0.8871, allocations: 5.247 MB / 1.482 GB, free: 263.3 MB / 0.8542 GB