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.008686/0.008686, allocations: 109.3 kB / 15.05 MB, free: 6.031 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.001081/0.001081, allocations: 189.2 kB / 15.95 MB, free: 5.965 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 2.305/2.305, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.244/2.244, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5374, allocations: 98.71 MB / 0.6833 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.7404, allocations: 126.3 MB / 0.8067 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.7407, allocations: 71.95 kB / 0.8068 GB, free: 15.81 MB / 0.6355 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.04957/0.7903, allocations: 10.32 MB / 0.8168 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.38e-06/0.7903, allocations: 0 / 0.8168 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.7904, allocations: 4 kB / 0.8169 GB, free: 5.469 MB / 0.6355 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.001442/0.7918, allocations: 0.6353 MB / 0.8175 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.7919, allocations: 8.031 kB / 0.8175 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.792, allocations: 19.81 kB / 0.8175 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.7921, allocations: 186.8 kB / 0.8177 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.7923, allocations: 130.8 kB / 0.8178 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.7924, allocations: 16 kB / 0.8178 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.7929, allocations: 252 kB / 0.8181 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.793, allocations: 0 / 0.8181 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.793, allocations: 8 kB / 0.8181 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.793, allocations: 8 kB / 0.8181 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.7934, allocations: 119.7 kB / 0.8182 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.7946, allocations: 0.955 MB / 0.8191 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.7963, allocations: 491.5 kB / 0.8196 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.7964, allocations: 12.16 kB / 0.8196 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006065/0.797, allocations: 303.9 kB / 0.8199 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.751e-06/0.797, allocations: 0 / 0.8199 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001137/0.7982, allocations: 410.4 kB / 0.8203 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/0.7984, allocations: 354.1 kB / 0.8206 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.7986, allocations: 156 kB / 0.8208 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.7987, allocations: 41.7 kB / 0.8208 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.7988, allocations: 117.4 kB / 0.8209 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.799, allocations: 114.5 kB / 0.821 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.799, allocations: 8 kB / 0.821 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7992, allocations: 334.8 kB / 0.8214 GB, free: 340 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.7996, allocations: 105.1 kB / 0.8215 GB, free: 232 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.8, allocations: 180.3 kB / 0.8216 GB, free: 28 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.8004, allocations: 116 kB / 0.8217 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-06/0.8005, allocations: 0 / 0.8217 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001107/0.8016, allocations: 369.2 kB / 0.8221 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.8016, allocations: 4 kB / 0.8221 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8016, allocations: 4 kB / 0.8221 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8017, allocations: 8 kB / 0.8221 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.8022, allocations: 79.83 kB / 0.8222 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.8022, allocations: 7.938 kB / 0.8222 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.8026, allocations: 55.62 kB / 0.8222 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.8027, allocations: 19.98 kB / 0.8223 GB, free: 15.37 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 () * 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.0002327/0.8029, allocations: 158 kB / 0.8224 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.803, allocations: 23.8 kB / 0.8224 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009542/0.804, allocations: 365.9 kB / 0.8228 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.804, allocations: 8 kB / 0.8228 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.804, allocations: 7.953 kB / 0.8228 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.8041, allocations: 4 kB / 0.8228 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.8046, allocations: 353 kB / 0.8231 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.074e-06/0.8046, allocations: 4 kB / 0.8231 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.805, allocations: 76.28 kB / 0.8232 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.8051, allocations: 4 kB / 0.8232 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.8051, allocations: 19.98 kB / 0.8232 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.8052, allocations: 8 kB / 0.8232 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.485e-06/0.8052, allocations: 4 kB / 0.8232 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.8063, allocations: 0.6138 MB / 0.8238 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.8065, allocations: 144.6 kB / 0.824 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.8066, allocations: 19.98 kB / 0.824 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.8069, allocations: 39.97 kB / 0.824 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.8071, allocations: 55.83 kB / 0.8241 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.8072, allocations: 20 kB / 0.8241 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001569/0.8073, allocations: 135.2 kB / 0.8242 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.25e-07/0.8073, allocations: 0 / 0.8242 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008762/0.8082, allocations: 215.7 kB / 0.8245 GB, free: 12.92 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) * 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.0006878/0.8089, allocations: 313 kB / 0.8247 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000899/0.8098, allocations: 316.3 kB / 0.8251 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.865e-06/0.8099, allocations: 4.188 kB / 0.8251 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.8103, allocations: 179.7 kB / 0.8252 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.8105, allocations: 20.12 kB / 0.8252 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.8119, allocations: 0.6423 MB / 0.8259 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.8124, allocations: 0.7691 MB / 0.8266 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.8128, allocations: 55.69 kB / 0.8267 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.813, allocations: 47.41 kB / 0.8267 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.579e-06/0.813, allocations: 0 / 0.8267 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01299/0.826, allocations: 4.693 MB / 0.8313 GB, free: 5.816 MB / 0.6511 GB