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.05/5.05, allocations: 0.5623 GB / 0.5769 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.002395/0.002395, allocations: 358.4 kB / 0.644 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.194/4.194, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001705/0.001705, allocations: 176 kB / 1.225 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000788/0.0007883, allocations: 15.98 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.198, allocations: 115.3 MB / 1.461 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.0008395/0.1989, allocations: 0.5832 MB / 1.461 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.2015, allocations: 2.322 MB / 1.464 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.2016, allocations: 0 / 1.464 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.2016, allocations: 11.86 kB / 1.464 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2018, allocations: 43.69 kB / 1.464 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.2027, allocations: 366.7 kB / 1.464 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.2029, allocations: 255.2 kB / 1.464 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.203, allocations: 13.95 kB / 1.464 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2032, allocations: 123.6 kB / 1.464 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2034, allocations: 135.5 kB / 1.464 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.2035, allocations: 12 kB / 1.465 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.204, allocations: 271.7 kB / 1.465 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.2041, allocations: 55.78 kB / 1.465 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.2042, allocations: 57.64 kB / 1.465 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.2047, allocations: 379 kB / 1.465 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.974e-06/0.2047, allocations: 0 / 1.465 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.652e-06/0.2047, allocations: 3.938 kB / 1.465 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.102e-06/0.2047, allocations: 4 kB / 1.465 GB, free: 2.008 MB / 0.6042 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.001249/0.206, allocations: 0.6248 MB / 1.466 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.206, allocations: 8.031 kB / 1.466 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.322e-05/0.2061, allocations: 27.7 kB / 1.466 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2063, allocations: 189 kB / 1.466 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.2065, allocations: 130.8 kB / 1.466 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.2066, allocations: 16 kB / 1.466 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.2071, allocations: 251.6 kB / 1.466 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2071, allocations: 4 kB / 1.466 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.2071, allocations: 7.984 kB / 1.466 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2072, allocations: 8 kB / 1.466 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.2075, allocations: 123.7 kB / 1.467 GB, free: 492 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.2088, allocations: 0.9511 MB / 1.468 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.2105, allocations: 495.1 kB / 1.468 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.2109, allocations: 158.4 kB / 1.468 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.2109, allocations: 11.98 kB / 1.468 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/0.2115, allocations: 308 kB / 1.468 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 6.133e-06/0.2115, allocations: 0 / 1.468 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001116/0.2127, allocations: 401.4 kB / 1.469 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002246/0.2129, allocations: 362.5 kB / 1.469 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.2132, allocations: 177.1 kB / 1.469 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.2132, allocations: 41.7 kB / 1.469 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.2133, allocations: 104.9 kB / 1.469 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.2135, allocations: 106.5 kB / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2135, allocations: 8 kB / 1.47 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2137, allocations: 330.8 kB / 1.47 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.2141, allocations: 109.1 kB / 1.47 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.2145, allocations: 184.3 kB / 1.47 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.215, allocations: 111.9 kB / 1.47 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.511e-06/0.215, allocations: 0 / 1.47 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001145/0.2161, allocations: 365.8 kB / 1.471 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.2162, allocations: 11.98 kB / 1.471 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.2162, allocations: 3.953 kB / 1.471 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.2163, allocations: 4 kB / 1.471 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.2171, allocations: 79.88 kB / 1.471 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.2171, allocations: 8.312 kB / 1.471 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.2178, allocations: 63.66 kB / 1.471 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.2179, allocations: 19.98 kB / 1.471 GB, free: 11.71 MB / 0.6198 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.0002413/0.2181, allocations: 149.9 kB / 1.471 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.2182, allocations: 31.66 kB / 1.471 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.2192, allocations: 357.9 kB / 1.471 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.2192, allocations: 15.95 kB / 1.471 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.411e-06/0.2192, allocations: 0.6875 kB / 1.471 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.2193, allocations: 7.984 kB / 1.471 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.2198, allocations: 357.1 kB / 1.472 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.09e-06/0.2198, allocations: 8 kB / 1.472 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.2203, allocations: 67.84 kB / 1.472 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/0.2203, allocations: 12 kB / 1.472 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.2203, allocations: 15.98 kB / 1.472 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.913e-06/0.2204, allocations: 8 kB / 1.472 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.2204, allocations: 7.953 kB / 1.472 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.2214, allocations: 485.6 kB / 1.472 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.2216, allocations: 152.5 kB / 1.472 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.2217, allocations: 19.98 kB / 1.472 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.222, allocations: 39.92 kB / 1.472 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.2222, allocations: 51.83 kB / 1.473 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.2223, allocations: 23.98 kB / 1.473 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001548/0.2224, allocations: 139.8 kB / 1.473 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.7e-07/0.2224, allocations: 0 / 1.473 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008012/0.2233, allocations: 199.8 kB / 1.473 GB, free: 9.469 MB / 0.6198 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.0006598/0.2239, allocations: 322.1 kB / 1.473 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000914/0.2249, allocations: 311.6 kB / 1.473 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.541e-06/0.2249, allocations: 0 / 1.473 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.2253, allocations: 184.4 kB / 1.474 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.2257, allocations: 32.14 kB / 1.474 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2271, allocations: 0.6479 MB / 1.474 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.2276, allocations: 0.7691 MB / 1.475 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003666/0.228, allocations: 59.31 kB / 1.475 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.2281, allocations: 48.16 kB / 1.475 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of SimCode: time 1.664e-06/0.2282, allocations: 0 / 1.475 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of Templates: time 0.01686/0.245, allocations: 5.04 MB / 1.48 GB, free: 2.012 MB / 0.6198 GB