Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.606/5.606, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.002524/0.002524, allocations: 359.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.405/4.405, allocations: 410.7 MB / 1.113 GB, free: 5.855 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.001959/0.001959, allocations: 179.6 kB / 1.226 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007068/0.0007071, allocations: 8 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.8732, 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.SunRiseSet): time 0.001076/0.8744, allocations: 0.5882 MB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.8777, allocations: 2.328 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.8779, allocations: 0.625 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.8779, allocations: 11.86 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.8782, allocations: 41.12 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.8793, allocations: 363.7 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.8796, allocations: 257 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.8796, allocations: 18.17 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.8799, allocations: 120.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.8801, allocations: 132.4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.8802, allocations: 19.92 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.8809, allocations: 272.6 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.881, allocations: 59.83 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.881, allocations: 58.52 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.8817, allocations: 375 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8817, allocations: 0.625 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8817, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.8817, allocations: 1.844 kB / 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.001788/0.8835, allocations: 0.6222 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8836, allocations: 15.61 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.8837, allocations: 23.72 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.8838, allocations: 192.6 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.884, allocations: 122.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.8841, allocations: 20 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.8846, allocations: 251.7 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.8846, allocations: 2.562 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.8846, allocations: 8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.8847, allocations: 4 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.885, allocations: 120.8 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.8861, allocations: 0.9519 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.8884, allocations: 494.9 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.8887, allocations: 153.6 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.8887, allocations: 11.97 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005374/0.8893, allocations: 316.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/0.8893, allocations: 4.625 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.001126/0.8904, allocations: 401.9 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.8905, allocations: 348.4 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.8907, allocations: 174.5 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.8908, allocations: 41.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.8909, allocations: 117.9 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.891, allocations: 114.5 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.891, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.8911, allocations: 336.3 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.8915, allocations: 101.1 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.892, allocations: 186.4 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.8924, allocations: 119.3 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8924, allocations: 0 / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001099/0.8936, allocations: 362.5 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.8936, allocations: 8 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8936, allocations: 96 / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.8937, allocations: 14.2 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.8944, allocations: 83.81 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.8944, allocations: 4 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.8949, allocations: 57.25 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.895, allocations: 25.39 kB / 1.471 GB, free: 273.4 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.0001897/0.8952, allocations: 150.4 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.8953, allocations: 25.03 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009804/0.8963, allocations: 368 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.8963, allocations: 8.953 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8963, allocations: 4 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.8965, allocations: 153.6 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.8966, allocations: 19.98 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.897, allocations: 29.89 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.8972, allocations: 61.33 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001387/0.8986, allocations: 1.353 MB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001093/0.8997, allocations: 1.376 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003448/0.9001, allocations: 157.2 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001237/0.9002, allocations: 138 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of Backend: time 7.92e-07/0.9002, allocations: 0 / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.9029, allocations: 471 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000977/0.9039, allocations: 0.8667 MB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01393/0.9179, allocations: 5.24 MB / 1.482 GB, free: 263.2 MB / 0.8542 GB