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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.01079/0.01079, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.001173/0.001173, allocations: 183.8 kB / 15.94 MB, free: 5.941 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.082/2.082, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.283/2.283, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006773/0.0006773, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6992, allocations: 98.7 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.9288, allocations: 126.3 MB / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.9292, allocations: 75.95 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.05532/0.9845, allocations: 10.31 MB / 0.8169 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9846, allocations: 0 / 0.8169 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.9846, allocations: 4 kB / 0.8169 GB, free: 5.43 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.002056/0.9867, allocations: 0.6314 MB / 0.8176 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.9868, allocations: 15.97 kB / 0.8176 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.9869, allocations: 46.55 kB / 0.8176 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.987, allocations: 23.72 kB / 0.8176 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.9872, allocations: 186.8 kB / 0.8178 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.9874, allocations: 130.8 kB / 0.8179 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.9875, allocations: 19.98 kB / 0.818 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.9881, allocations: 260 kB / 0.8182 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.9881, allocations: 0 / 0.8182 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.9881, allocations: 8 kB / 0.8182 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.9882, allocations: 4 kB / 0.8182 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.9886, allocations: 119.7 kB / 0.8183 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.9899, allocations: 0.9589 MB / 0.8193 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.9925, allocations: 483.4 kB / 0.8197 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.9927, allocations: 16.27 kB / 0.8197 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.9934, allocations: 315.9 kB / 0.82 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.787e-06/0.9934, allocations: 0 / 0.82 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001353/0.9948, allocations: 405.6 kB / 0.8204 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/0.995, allocations: 346.6 kB / 0.8208 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.9952, allocations: 157.8 kB / 0.8209 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.9953, allocations: 45.69 kB / 0.821 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.9954, allocations: 108.8 kB / 0.8211 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.9956, allocations: 118.4 kB / 0.8212 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.9956, allocations: 12 kB / 0.8212 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9958, allocations: 326.8 kB / 0.8215 GB, free: 232 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.9963, allocations: 109 kB / 0.8216 GB, free: 120 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.9968, allocations: 180.4 kB / 0.8218 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.9973, allocations: 115.9 kB / 0.8219 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.9974, allocations: 0 / 0.8219 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001297/0.9987, allocations: 377.1 kB / 0.8222 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.9987, allocations: 4 kB / 0.8222 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.9987, allocations: 4 kB / 0.8223 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.9988, allocations: 7.953 kB / 0.8223 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.9995, allocations: 75.88 kB / 0.8223 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.9995, allocations: 7.938 kB / 0.8223 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/1, allocations: 59.72 kB / 0.8224 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/1, allocations: 15.98 kB / 0.8224 GB, free: 15.25 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.0002517/1, allocations: 153.7 kB / 0.8226 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/1.001, allocations: 23.8 kB / 0.8226 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.002, allocations: 367.2 kB / 0.8229 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.002, allocations: 12.06 kB / 0.8229 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.002, allocations: 11.95 kB / 0.823 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.002, allocations: 3.984 kB / 0.823 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/1.002, allocations: 345.1 kB / 0.8233 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.002, allocations: 4 kB / 0.8233 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/1.003, allocations: 75.83 kB / 0.8234 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/1.003, allocations: 8 kB / 0.8234 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/1.003, allocations: 16 kB / 0.8234 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/1.003, allocations: 4 kB / 0.8234 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.003, allocations: 7.984 kB / 0.8234 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/1.004, allocations: 0.6058 MB / 0.824 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/1.005, allocations: 148.6 kB / 0.8241 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/1.005, allocations: 16 kB / 0.8241 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/1.005, allocations: 39.97 kB / 0.8242 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.006, allocations: 55.83 kB / 0.8242 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/1.006, allocations: 23.98 kB / 0.8243 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001733/1.006, allocations: 131.2 kB / 0.8244 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.32e-07/1.006, allocations: 3.938 kB / 0.8244 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001038/1.007, 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.002642/1.01, allocations: 2.12 MB / 0.8267 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.011, allocations: 312.3 kB / 0.827 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.011, allocations: 4.188 kB / 0.827 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/1.011, allocations: 183.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.0002915/1.012, allocations: 30.7 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.002896/1.015, allocations: 2.071 MB / 0.8292 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/1.015, allocations: 0.7652 MB / 0.8299 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004624/1.016, allocations: 51.69 kB / 0.83 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/1.016, allocations: 91.39 kB / 0.8301 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.016, allocations: 0 / 0.8301 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/1.051, allocations: 6.839 MB / 0.8368 GB, free: 280 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/1.051, allocations: 211 kB / 0.837 GB, free: 32 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.762, allocations: 3.438 kB / 0.837 GB, free: 32 kB / 0.6511 GB