Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004247/0.004246, allocations: 232.5 kB / 15.82 MB, free: 6.301 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001167/0.001168, allocations: 177.1 kB / 16.71 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.464/3.464, allocations: 389.1 MB / 406.5 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.843/4.843, allocations: 472.3 MB / 0.9024 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 8 kB / 1.008 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 98.7 MB / 1.105 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8078/1.031, allocations: 126.3 MB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.032, allocations: 82.55 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.05244/1.084, allocations: 10.32 MB / 1.238 GB, free: 191.9 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.184e-06/1.084, allocations: 0 / 1.238 GB, free: 191.9 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.428e-06/1.084, allocations: 4 kB / 1.238 GB, free: 191.9 MB / 0.7917 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.001846/1.086, allocations: 0.6327 MB / 1.239 GB, free: 191.2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.086, allocations: 12.03 kB / 1.239 GB, free: 191.2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.086, allocations: 24.42 kB / 1.239 GB, free: 191.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/1.087, allocations: 189.8 kB / 1.239 GB, free: 191 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/1.087, allocations: 130.4 kB / 1.239 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/1.087, allocations: 21.56 kB / 1.239 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/1.087, allocations: 251.3 kB / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.087, allocations: 3.375 kB / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/1.087, allocations: 11.3 kB / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/1.087, allocations: 7.438 kB / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/1.088, allocations: 118.5 kB / 1.239 GB, free: 190.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/1.089, allocations: 0.9564 MB / 1.24 GB, free: 189.5 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/1.091, allocations: 490.4 kB / 1.241 GB, free: 189 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/1.092, allocations: 152.3 kB / 1.241 GB, free: 188.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/1.092, allocations: 19.05 kB / 1.241 GB, free: 188.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/1.092, allocations: 308.2 kB / 1.241 GB, free: 188.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=40): time 4.278e-06/1.092, allocations: 0 / 1.241 GB, free: 188.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.001223/1.094, allocations: 393.5 kB / 1.242 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.094, allocations: 362 kB / 1.242 GB, free: 187.8 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/1.094, allocations: 170.4 kB / 1.242 GB, free: 187.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/1.094, allocations: 40.52 kB / 1.242 GB, free: 187.6 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/1.094, allocations: 111.5 kB / 1.242 GB, free: 187.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/1.094, allocations: 112.2 kB / 1.242 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/1.094, allocations: 10.06 kB / 1.243 GB, free: 187.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/1.094, allocations: 333.2 kB / 1.243 GB, free: 187.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/1.095, allocations: 104.2 kB / 1.243 GB, free: 187 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/1.095, allocations: 183 kB / 1.243 GB, free: 186.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/1.096, allocations: 119.3 kB / 1.243 GB, free: 186.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.096, allocations: 0 / 1.243 GB, free: 186.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001136/1.097, allocations: 361 kB / 1.244 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.097, allocations: 8 kB / 1.244 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.097, allocations: 4.891 kB / 1.244 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.097, allocations: 8.203 kB / 1.244 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/1.098, allocations: 83.19 kB / 1.244 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.098, allocations: 4 kB / 1.244 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/1.098, allocations: 59.19 kB / 1.244 GB, free: 186.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/1.098, allocations: 19.17 kB / 1.244 GB, free: 186.3 MB / 0.7917 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.0002469/1.099, allocations: 160 kB / 1.244 GB, free: 186.2 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/1.099, allocations: 22.81 kB / 1.244 GB, free: 186.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/1.1, allocations: 361.9 kB / 1.244 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.1, allocations: 19.94 kB / 1.244 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.1, allocations: 0 / 1.244 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.1, allocations: 8.344 kB / 1.244 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/1.1, allocations: 351.1 kB / 1.245 GB, free: 185.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.1, allocations: 0 / 1.245 GB, free: 185.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/1.101, allocations: 75.16 kB / 1.245 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.101, allocations: 8 kB / 1.245 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/1.101, allocations: 15.55 kB / 1.245 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/1.101, allocations: 8 kB / 1.245 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.101, allocations: 9.391 kB / 1.245 GB, free: 185.5 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009609/1.102, allocations: 496.7 kB / 1.245 GB, free: 185.1 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/1.102, allocations: 146.4 kB / 1.245 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/1.103, allocations: 14.19 kB / 1.245 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/1.103, allocations: 41.62 kB / 1.245 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.103, allocations: 48.52 kB / 1.245 GB, free: 184.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/1.103, allocations: 26.8 kB / 1.245 GB, free: 184.8 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001397/1.103, allocations: 131.4 kB / 1.246 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.31e-07/1.103, allocations: 1.312 kB / 1.246 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001053/1.104, allocations: 217.3 kB / 1.246 GB, free: 184.5 MB / 0.7917 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.0008734/1.105, allocations: 320.5 kB / 1.246 GB, free: 184.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.106, allocations: 320.2 kB / 1.246 GB, free: 183.9 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.106, allocations: 0 / 1.246 GB, free: 183.9 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004562/1.107, allocations: 180.8 kB / 1.247 GB, free: 183.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/1.107, allocations: 35.75 kB / 1.247 GB, free: 183.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/1.109, allocations: 0.6411 MB / 1.247 GB, free: 183.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/1.109, allocations: 0.773 MB / 1.248 GB, free: 182.4 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004384/1.109, allocations: 57.62 kB / 1.248 GB, free: 182.4 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.11, allocations: 46.66 kB / 1.248 GB, free: 182.3 MB / 0.7917 GB Notification: Performance of SimCode: time 8.81e-07/1.11, allocations: 0 / 1.248 GB, free: 182.3 MB / 0.7917 GB Notification: Performance of Templates: time 0.0135/1.123, allocations: 4.696 MB / 1.253 GB, free: 177.8 MB / 0.7917 GB