Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.158/5.158, allocations: 0.5623 GB / 0.5776 GB, free: 3.293 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.002472/0.002472, allocations: 356.1 kB / 0.6447 GB, free: 185.7 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.657/4.657, allocations: 410.7 MB / 1.113 GB, free: 5.957 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.001855/0.001854, allocations: 175 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005057, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7718, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001107/0.773, allocations: 0.5882 MB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003527/0.7765, allocations: 2.336 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.7767, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.7767, allocations: 7.875 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.777, allocations: 34.22 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.7783, allocations: 370.5 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.7787, allocations: 259.1 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.7788, allocations: 19.45 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.779, allocations: 121.5 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.7793, allocations: 132.4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.7793, allocations: 12.75 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.7802, allocations: 271.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.7803, allocations: 52.36 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.7804, allocations: 62.42 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.781, allocations: 379.1 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.781, allocations: 1.281 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7811, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.7811, allocations: 0 / 1.466 GB, free: 279.8 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.001916/0.783, allocations: 0.6224 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7831, allocations: 12.62 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.7832, allocations: 23.72 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.7833, allocations: 196.4 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.7835, allocations: 129.6 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.7836, allocations: 20 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.7841, allocations: 246.2 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.7841, allocations: 0 / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.7841, allocations: 8.594 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.7842, allocations: 5.25 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.7845, allocations: 119.7 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.7856, allocations: 0.9549 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.788, allocations: 492.5 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.7883, allocations: 158 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.7884, allocations: 11.98 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.789, allocations: 311.9 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/0.789, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.001202/0.7902, allocations: 415.1 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.7903, allocations: 346.7 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.7905, allocations: 171.6 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.7906, allocations: 45.69 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.7907, allocations: 106 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.7908, allocations: 118.5 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.7908, allocations: 8 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.7909, allocations: 331.5 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.7914, allocations: 109.7 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.7918, allocations: 178.5 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.7923, allocations: 117.1 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7923, allocations: 0.9375 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001131/0.7934, allocations: 373.5 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.7935, allocations: 4 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7935, allocations: 4 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.7935, allocations: 7.953 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.7942, allocations: 79.81 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.7943, allocations: 4 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.7948, allocations: 61.56 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.7949, allocations: 18.17 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.0002162/0.7951, allocations: 158.7 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.7952, allocations: 23.72 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.7962, allocations: 358.7 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.7963, allocations: 13.44 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.7963, allocations: 1.266 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.7965, allocations: 152.5 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.7966, allocations: 16.19 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.797, allocations: 47 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.7972, allocations: 53.05 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001414/0.7986, allocations: 1.351 MB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001133/0.7998, allocations: 1.379 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003656/0.8002, allocations: 165.4 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001339/0.8003, allocations: 126.7 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of Backend: time 9.32e-07/0.8003, allocations: 0 / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.8031, allocations: 473.3 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009578/0.8041, allocations: 0.8684 MB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01394/0.8181, allocations: 5.252 MB / 1.482 GB, free: 263.4 MB / 0.8542 GB