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.SunRiseSetNegativeStartTime.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01092/0.01092, allocations: 107.4 kB / 15.05 MB, free: 5.93 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.001162/0.001162, allocations: 187 kB / 15.95 MB, free: 5.895 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.094/2.094, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.339/2.339, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7092, allocations: 98.71 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.9743, allocations: 126.3 MB / 0.8068 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.9746, allocations: 79.94 kB / 0.8069 GB, free: 15.77 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.05648/1.031, allocations: 10.32 MB / 0.8169 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.031, allocations: 0 / 0.8169 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.322e-05/1.031, allocations: 4 kB / 0.8169 GB, free: 5.426 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.001974/1.033, allocations: 0.6314 MB / 0.8176 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.033, allocations: 12.03 kB / 0.8176 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/1.033, allocations: 50.48 kB / 0.8176 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/1.033, allocations: 23.72 kB / 0.8176 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/1.034, allocations: 182.8 kB / 0.8178 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/1.034, allocations: 130.8 kB / 0.8179 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/1.034, allocations: 19.98 kB / 0.818 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/1.035, allocations: 248.1 kB / 0.8182 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.035, allocations: 0 / 0.8182 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/1.035, allocations: 8 kB / 0.8182 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/1.035, allocations: 4 kB / 0.8182 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/1.035, allocations: 123.7 kB / 0.8183 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.036, allocations: 0.955 MB / 0.8193 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.039, allocations: 498.9 kB / 0.8197 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/1.039, allocations: 12.08 kB / 0.8198 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/1.04, allocations: 311.9 kB / 0.82 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.617e-06/1.04, allocations: 0 / 0.82 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001368/1.041, allocations: 397.5 kB / 0.8204 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/1.041, allocations: 354.1 kB / 0.8208 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/1.042, allocations: 160 kB / 0.8209 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/1.042, allocations: 45.62 kB / 0.821 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/1.042, allocations: 108.9 kB / 0.8211 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/1.042, allocations: 118.4 kB / 0.8212 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/1.042, allocations: 8 kB / 0.8212 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.042, allocations: 334.8 kB / 0.8215 GB, free: 232 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/1.043, allocations: 109 kB / 0.8216 GB, free: 120 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/1.043, allocations: 168.4 kB / 0.8218 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/1.044, allocations: 116.7 kB / 0.8219 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.044, allocations: 4 kB / 0.8219 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001324/1.045, allocations: 377 kB / 0.8222 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.045, allocations: 8 kB / 0.8223 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.045, allocations: 0 / 0.8223 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.045, allocations: 7.953 kB / 0.8223 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/1.046, allocations: 79.88 kB / 0.8223 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/1.046, allocations: 7.938 kB / 0.8223 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/1.047, allocations: 51.72 kB / 0.8224 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/1.047, allocations: 23.98 kB / 0.8224 GB, free: 15.26 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.0002771/1.047, allocations: 153.7 kB / 0.8226 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/1.047, allocations: 19.81 kB / 0.8226 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.048, allocations: 371 kB / 0.8229 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.048, allocations: 8 kB / 0.8229 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.048, allocations: 8.203 kB / 0.823 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.049, allocations: 7.984 kB / 0.823 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/1.049, allocations: 349.1 kB / 0.8233 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.049, allocations: 4 kB / 0.8233 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/1.05, allocations: 83.83 kB / 0.8234 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/1.05, allocations: 4 kB / 0.8234 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/1.05, allocations: 16 kB / 0.8234 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.98e-05/1.05, allocations: 7.984 kB / 0.8234 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.05, allocations: 4 kB / 0.8234 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/1.051, allocations: 0.6058 MB / 0.824 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/1.052, allocations: 148.6 kB / 0.8241 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/1.052, allocations: 16 kB / 0.8242 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/1.052, allocations: 35.97 kB / 0.8242 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.052, allocations: 55.83 kB / 0.8242 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/1.052, allocations: 23.98 kB / 0.8243 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001688/1.053, allocations: 139.2 kB / 0.8244 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.053, allocations: 0 / 0.8244 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00103/1.054, allocations: 215.7 kB / 0.8246 GB, free: 12.81 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.002709/1.056, allocations: 2.116 MB / 0.8267 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.058, allocations: 323.5 kB / 0.827 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/1.058, allocations: 0 / 0.827 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/1.058, allocations: 179.7 kB / 0.8271 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/1.058, allocations: 26.58 kB / 0.8272 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/1.061, allocations: 2.068 MB / 0.8292 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1.062, allocations: 0.7691 MB / 0.8299 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004584/1.062, allocations: 60.38 kB / 0.83 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/1.063, allocations: 91.38 kB / 0.8301 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of SimCode: time 1.783e-06/1.063, allocations: 0 / 0.8301 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04275/1.105, allocations: 6.831 MB / 0.8368 GB, free: 272 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.106, allocations: 203 kB / 0.837 GB, free: 32 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.865, allocations: 3.281 kB / 0.837 GB, free: 32 kB / 0.6511 GB