Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadModel(Buildings): time 3.979/3.979, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.133e-05, allocations: 3.438 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.4067, allocations: 126.2 MB / 0.758 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.407, allocations: 71.95 kB / 0.7581 GB, free: 3.43 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.06019/0.4672, allocations: 10.28 MB / 0.7681 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.414e-06/0.4672, allocations: 0 / 0.7681 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.4673, allocations: 4 kB / 0.7681 GB, free: 9.121 MB / 0.6511 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.002487/0.4698, allocations: 0.6032 MB / 0.7687 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/0.4699, allocations: 8.031 kB / 0.7687 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.4701, allocations: 23.72 kB / 0.7687 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.4704, allocations: 190.7 kB / 0.7689 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.4707, allocations: 134.8 kB / 0.769 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4709, allocations: 16 kB / 0.7691 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000925/0.4718, allocations: 251.6 kB / 0.7693 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.4719, allocations: 8 kB / 0.7693 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.4719, allocations: 4 kB / 0.7693 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.472, allocations: 8 kB / 0.7693 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.4727, allocations: 115.8 kB / 0.7694 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.4748, allocations: 0.9473 MB / 0.7703 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.4781, allocations: 487.4 kB / 0.7708 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.4787, allocations: 158.7 kB / 0.771 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.4788, allocations: 15.92 kB / 0.771 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.4799, allocations: 304 kB / 0.7713 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 7.422e-06/0.48, allocations: 0 / 0.7713 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001735/0.4817, allocations: 321.4 kB / 0.7716 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003431/0.4821, allocations: 350.1 kB / 0.7719 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.4825, allocations: 153.6 kB / 0.7721 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.4826, allocations: 37.7 kB / 0.7721 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4828, allocations: 112.9 kB / 0.7722 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.4831, allocations: 110.5 kB / 0.7723 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.4832, allocations: 8 kB / 0.7723 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002724/0.4835, allocations: 338.8 kB / 0.7726 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.4841, allocations: 93.11 kB / 0.7727 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007082/0.4848, allocations: 172.4 kB / 0.7729 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.4855, allocations: 111.8 kB / 0.773 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.108e-06/0.4855, allocations: 0 / 0.773 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001846/0.4874, allocations: 349.2 kB / 0.7733 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.4874, allocations: 13.81 kB / 0.7733 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4875, allocations: 0 / 0.7733 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.911e-05/0.4875, allocations: 7.953 kB / 0.7734 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.4885, allocations: 83.81 kB / 0.7734 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/0.4886, allocations: 4 kB / 0.7734 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.4894, allocations: 59.66 kB / 0.7735 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.4895, allocations: 19.98 kB / 0.7735 GB, free: 3.008 MB / 0.6511 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 () * 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.0003202/0.4899, allocations: 138.3 kB / 0.7736 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4901, allocations: 23.8 kB / 0.7737 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.4919, allocations: 357.9 kB / 0.774 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.492, allocations: 8 kB / 0.774 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.492, allocations: 7.953 kB / 0.774 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/0.4921, allocations: 7.984 kB / 0.774 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.4931, allocations: 353.1 kB / 0.7744 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.4931, allocations: 0 / 0.7744 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.4939, allocations: 71.84 kB / 0.7744 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.494, allocations: 4 kB / 0.7744 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/0.4941, allocations: 19.98 kB / 0.7745 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.4941, allocations: 8.312 kB / 0.7745 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.4942, allocations: 4 kB / 0.7745 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.4963, allocations: 0.6138 MB / 0.7751 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.4967, allocations: 140.6 kB / 0.7752 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.4969, allocations: 15.98 kB / 0.7752 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.4976, allocations: 43.97 kB / 0.7753 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.4979, allocations: 55.83 kB / 0.7753 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.498, allocations: 20 kB / 0.7753 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002847/0.4983, allocations: 131.2 kB / 0.7755 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.882e-06/0.4983, allocations: 0 / 0.7755 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001742/0.5001, allocations: 211.7 kB / 0.7757 GB, free: 0.5977 MB / 0.6511 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) * 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.001251/0.5014, allocations: 334.5 kB / 0.776 GB, free: 272 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.4885/0.9899, allocations: 297.6 kB / 0.7763 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.9899, allocations: 0 / 0.7763 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.9904, allocations: 179.3 kB / 0.7764 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.9907, allocations: 22.58 kB / 0.7765 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.9918, allocations: 441.1 kB / 0.7769 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.9921, allocations: 0.7645 MB / 0.7776 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.9925, allocations: 59.8 kB / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.9927, allocations: 43.78 kB / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.757e-06/0.9927, allocations: 0 / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01402/1.007, allocations: 4.699 MB / 0.7823 GB, free: 137.3 MB / 0.6511 GB