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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadModel(Buildings): time 4.235/4.235, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.41e-05, allocations: 4.359 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.4302, allocations: 126.2 MB / 0.758 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4305, allocations: 75.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.05256/0.4831, allocations: 10.29 MB / 0.7681 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.89e-06/0.4832, allocations: 0 / 0.7681 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.4832, allocations: 7.938 kB / 0.7681 GB, free: 9.113 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.001532/0.4847, allocations: 0.5954 MB / 0.7687 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4848, allocations: 8.031 kB / 0.7687 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.4849, allocations: 27.7 kB / 0.7687 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.4851, allocations: 196.5 kB / 0.7689 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.4853, allocations: 126.8 kB / 0.769 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.4854, allocations: 20 kB / 0.7691 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.4859, allocations: 247.6 kB / 0.7693 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.486, allocations: 4 kB / 0.7693 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.486, allocations: 15.97 kB / 0.7693 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4861, allocations: 4 kB / 0.7693 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.4864, allocations: 115.8 kB / 0.7694 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.4878, allocations: 0.9512 MB / 0.7704 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.4897, allocations: 487.5 kB / 0.7708 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.4901, allocations: 150.5 kB / 0.771 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.4901, allocations: 19.91 kB / 0.771 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009822/0.4911, allocations: 308 kB / 0.7713 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 6.369e-06/0.4912, allocations: 0 / 0.7713 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001578/0.4928, allocations: 313.1 kB / 0.7716 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003513/0.4932, allocations: 354.1 kB / 0.7719 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.4936, allocations: 153.6 kB / 0.7721 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.4937, allocations: 37.7 kB / 0.7721 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4939, allocations: 104.9 kB / 0.7722 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.4942, allocations: 118.4 kB / 0.7723 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.4943, allocations: 8 kB / 0.7723 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.4946, allocations: 338.8 kB / 0.7726 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.4952, allocations: 93.11 kB / 0.7727 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/0.4958, allocations: 168.4 kB / 0.7729 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.4963, allocations: 116 kB / 0.773 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.329e-06/0.4964, allocations: 0 / 0.773 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001569/0.498, allocations: 349.3 kB / 0.7733 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.498, allocations: 8.031 kB / 0.7733 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.498, allocations: 7.938 kB / 0.7734 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.4981, allocations: 7.953 kB / 0.7734 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.4991, allocations: 79.81 kB / 0.7734 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.4991, allocations: 4 kB / 0.7734 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.4999, allocations: 63.66 kB / 0.7735 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.5, allocations: 15.98 kB / 0.7735 GB, free: 3.004 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.0002782/0.5003, allocations: 136 kB / 0.7736 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.5004, allocations: 19.81 kB / 0.7737 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.5021, allocations: 370.5 kB / 0.774 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.5022, allocations: 8 kB / 0.774 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/0.5022, allocations: 7.953 kB / 0.774 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.5023, allocations: 7.984 kB / 0.774 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009908/0.5033, allocations: 349.1 kB / 0.7744 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.5033, allocations: 4 kB / 0.7744 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.504, allocations: 67.84 kB / 0.7744 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-05/0.5041, allocations: 8 kB / 0.7744 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/0.5042, allocations: 19.98 kB / 0.7745 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.5042, allocations: 8 kB / 0.7745 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/0.5043, allocations: 4 kB / 0.7745 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.5061, allocations: 0.598 MB / 0.7751 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.5064, allocations: 148.8 kB / 0.7752 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.5065, allocations: 16 kB / 0.7752 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.5069, allocations: 39.97 kB / 0.7753 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5071, allocations: 59.81 kB / 0.7753 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.5071, allocations: 23.98 kB / 0.7753 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001776/0.5073, allocations: 131.2 kB / 0.7755 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-07/0.5073, allocations: 0 / 0.7755 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009057/0.5082, allocations: 211.7 kB / 0.7757 GB, free: 0.5898 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.0007042/0.509, allocations: 331.4 kB / 0.776 GB, free: 268 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.4697/0.9786, allocations: 298.4 kB / 0.7763 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.201e-06/0.9787, allocations: 2.781 kB / 0.7763 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.9792, allocations: 176.5 kB / 0.7764 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.9795, allocations: 22.39 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.001069/0.9806, allocations: 442.2 kB / 0.7769 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.9809, allocations: 0.7666 MB / 0.7776 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.9813, allocations: 57.23 kB / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.9814, allocations: 47.44 kB / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.853e-06/0.9815, allocations: 0 / 0.7777 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01353/0.995, allocations: 4.694 MB / 0.7823 GB, free: 137.2 MB / 0.6511 GB