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 4.857/4.857, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 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.002413/0.002413, allocations: 356.4 kB / 0.644 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.232/4.232, allocations: 410.7 MB / 1.112 GB, free: 5.898 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.001767/0.001767, allocations: 191.6 kB / 1.225 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 16 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6627, 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.SunRiseSetPositiveStartTime): time 0.0008583/0.6636, allocations: 0.5802 MB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.6663, allocations: 2.341 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.6665, allocations: 2.75 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.6665, allocations: 7.875 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.6667, allocations: 35.73 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.6677, allocations: 366.9 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.6679, allocations: 253 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.668, allocations: 23.25 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.6682, allocations: 121.1 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.6684, allocations: 131.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.6685, allocations: 13 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.669, allocations: 271.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.6691, allocations: 57.53 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.6692, allocations: 61.58 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.6697, allocations: 375.1 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.814e-06/0.6697, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.865e-06/0.6697, allocations: 1.25 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.115e-06/0.6697, allocations: 0 / 1.465 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.001244/0.671, allocations: 0.6285 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.671, allocations: 9.109 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.6711, allocations: 23.72 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.6712, allocations: 190.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.6714, allocations: 130.8 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.6714, allocations: 16 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.6718, allocations: 251.5 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6719, allocations: 4 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.6719, allocations: 4.688 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.939e-06/0.6719, allocations: 5.25 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.6722, allocations: 120.8 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.6731, allocations: 0.9468 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.6746, allocations: 496 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.6749, allocations: 156.8 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.6749, allocations: 13.23 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.6754, allocations: 316 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 4.257e-06/0.6755, allocations: 3.938 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.000953/0.6764, allocations: 409.9 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.6765, allocations: 343.1 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.6767, allocations: 175 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.6768, allocations: 46.89 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.6768, allocations: 112.9 kB / 1.469 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.6769, allocations: 102.5 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.677, allocations: 16.44 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.677, allocations: 331.9 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.6774, allocations: 105.1 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.6777, allocations: 178.8 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.6781, allocations: 120.7 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-06/0.6781, allocations: 0.6562 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009173/0.679, allocations: 365.6 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6791, allocations: 9.531 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.623e-06/0.6791, allocations: 7.953 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.6791, allocations: 4 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.6796, allocations: 83.81 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6797, allocations: 5.156 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.68, allocations: 53.62 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.6801, allocations: 23.98 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.0001808/0.6803, allocations: 151.8 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.6804, allocations: 32.52 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.6812, allocations: 355.9 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6812, allocations: 11.95 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.336e-06/0.6812, allocations: 7.938 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6813, allocations: 4 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.6817, allocations: 357 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.865e-06/0.6817, allocations: 0.6875 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.6821, allocations: 71.91 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.724e-06/0.6821, allocations: 5.219 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.6821, allocations: 19.98 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.145e-06/0.6821, allocations: 8 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6822, allocations: 9.203 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.6829, allocations: 490.9 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6831, allocations: 148.5 kB / 1.472 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.6832, allocations: 25.64 kB / 1.472 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.6836, allocations: 39.09 kB / 1.472 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6837, allocations: 53.33 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.6838, allocations: 20 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001125/0.6839, allocations: 140.3 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.76e-07/0.6839, allocations: 0 / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007081/0.6846, allocations: 209.1 kB / 1.473 GB, free: 271.3 MB / 0.8542 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.0005452/0.6852, allocations: 309 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.6865, allocations: 319.5 kB / 1.473 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.772e-06/0.6865, allocations: 0 / 1.473 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.6871, allocations: 184.5 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.6875, allocations: 32.14 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6887, allocations: 0.6349 MB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.6889, allocations: 0.7756 MB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.6892, allocations: 55.81 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.6894, allocations: 51.41 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.721e-06/0.6894, allocations: 0 / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01132/0.7008, allocations: 5.048 MB / 1.48 GB, free: 264.1 MB / 0.8542 GB