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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.007591/0.007591, allocations: 234 kB / 15.82 MB, free: 6.289 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.002076/0.002076, allocations: 173.7 kB / 16.7 MB, free: 5.449 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 4.263/4.263, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.989/3.989, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004854, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1737, allocations: 98.73 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7579/0.9316, allocations: 126.3 MB / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.9319, allocations: 80.72 kB / 1.228 GB, free: 27.11 MB / 0.6198 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.05643/0.9884, allocations: 10.31 MB / 1.238 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9884, allocations: 0 / 1.238 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.9885, allocations: 4 kB / 1.238 GB, free: 20.88 MB / 0.6198 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.002215/0.9907, allocations: 0.6406 MB / 1.239 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.9907, allocations: 15.03 kB / 1.239 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.9909, allocations: 21.53 kB / 1.239 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.991, allocations: 185.5 kB / 1.239 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.9913, allocations: 130 kB / 1.239 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.9914, allocations: 19.67 kB / 1.239 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.992, allocations: 255.9 kB / 1.239 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.992, allocations: 0 / 1.239 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.9921, allocations: 10.84 kB / 1.239 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.9921, allocations: 4 kB / 1.239 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.9926, allocations: 124.8 kB / 1.24 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.9941, allocations: 0.9574 MB / 1.24 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.9972, allocations: 488.7 kB / 1.241 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.9976, allocations: 153.8 kB / 1.241 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.9977, allocations: 11.98 kB / 1.241 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007534/0.9985, allocations: 302.2 kB / 1.241 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.349e-06/0.9985, allocations: 0 / 1.241 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001663/1, allocations: 405.2 kB / 1.242 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1, allocations: 356.1 kB / 1.242 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/1.001, allocations: 170.3 kB / 1.242 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.303e-05/1.001, allocations: 46.75 kB / 1.242 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.001, allocations: 107.6 kB / 1.242 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/1.001, allocations: 118.4 kB / 1.243 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/1.001, allocations: 11.12 kB / 1.243 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004787/1.002, allocations: 329.8 kB / 1.243 GB, free: 32.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/1.002, allocations: 109.2 kB / 1.243 GB, free: 31.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/1.003, allocations: 181.9 kB / 1.243 GB, free: 31.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/1.004, allocations: 119.3 kB / 1.243 GB, free: 31.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.004, allocations: 1.969 kB / 1.243 GB, free: 31.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001581/1.005, allocations: 358.1 kB / 1.244 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.005, allocations: 8 kB / 1.244 GB, free: 31.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.005, allocations: 0.6875 kB / 1.244 GB, free: 31.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.005, allocations: 7.953 kB / 1.244 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/1.006, allocations: 85.41 kB / 1.244 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/1.006, allocations: 4 kB / 1.244 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/1.007, allocations: 65.94 kB / 1.244 GB, free: 31.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/1.007, allocations: 18.67 kB / 1.244 GB, free: 31.31 MB / 0.6355 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.0003034/1.007, allocations: 161.6 kB / 1.244 GB, free: 31.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.007, allocations: 19.81 kB / 1.244 GB, free: 31.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.009, allocations: 356.5 kB / 1.244 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.009, allocations: 18.86 kB / 1.244 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.009, allocations: 0 / 1.244 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/1.009, allocations: 7.984 kB / 1.244 GB, free: 30.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/1.01, allocations: 350.6 kB / 1.245 GB, free: 30.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.01, allocations: 0 / 1.245 GB, free: 30.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/1.01, allocations: 79.77 kB / 1.245 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/1.01, allocations: 8 kB / 1.245 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/1.01, allocations: 13.22 kB / 1.245 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/1.01, allocations: 12.3 kB / 1.245 GB, free: 30.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.01, allocations: 7.891 kB / 1.245 GB, free: 30.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.012, allocations: 491.4 kB / 1.245 GB, free: 30.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/1.012, allocations: 147.3 kB / 1.245 GB, free: 29.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.012, allocations: 21.42 kB / 1.245 GB, free: 29.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/1.013, allocations: 39.47 kB / 1.245 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.013, allocations: 49.05 kB / 1.245 GB, free: 29.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/1.013, allocations: 22.44 kB / 1.245 GB, free: 29.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000202/1.013, allocations: 130.9 kB / 1.246 GB, free: 29.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.71e-07/1.013, allocations: 7.344 kB / 1.246 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001332/1.015, allocations: 218.1 kB / 1.246 GB, free: 29.45 MB / 0.6355 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.0009857/1.016, allocations: 317.6 kB / 1.246 GB, free: 29.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.017, allocations: 315.8 kB / 1.246 GB, free: 28.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.017, allocations: 0 / 1.246 GB, free: 28.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.018, allocations: 185.8 kB / 1.247 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/1.018, allocations: 28.19 kB / 1.247 GB, free: 28.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/1.02, allocations: 0.6441 MB / 1.247 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.021, allocations: 0.7684 MB / 1.248 GB, free: 27.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006013/1.021, allocations: 54.97 kB / 1.248 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/1.021, allocations: 46.91 kB / 1.248 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/1.021, allocations: 3.938 kB / 1.248 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.01689/1.038, allocations: 4.704 MB / 1.253 GB, free: 22.86 MB / 0.6355 GB