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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.0109/0.0109, allocations: 108.2 kB / 15.05 MB, free: 5.934 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.001165/0.001165, allocations: 181.2 kB / 15.94 MB, free: 5.898 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.074/2.074, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.359/2.359, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 8 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.6751, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/0.9279, allocations: 126.3 MB / 0.8068 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.9283, allocations: 71.95 kB / 0.8069 GB, free: 15.78 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.05685/0.9851, allocations: 10.33 MB / 0.8169 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9852, allocations: 4 kB / 0.8169 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.9852, allocations: 4 kB / 0.817 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.001926/0.9871, allocations: 0.6236 MB / 0.8176 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.9872, allocations: 12.02 kB / 0.8176 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.405e-05/0.9873, allocations: 50.55 kB / 0.8176 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.9874, allocations: 27.66 kB / 0.8176 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.9876, allocations: 185.9 kB / 0.8178 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.9878, allocations: 134.7 kB / 0.818 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.9879, allocations: 16 kB / 0.818 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.9885, allocations: 252 kB / 0.8182 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.9885, allocations: 0 / 0.8182 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.9885, allocations: 8 kB / 0.8182 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.9886, allocations: 4 kB / 0.8182 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.989, allocations: 119.7 kB / 0.8183 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.9903, allocations: 0.955 MB / 0.8193 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.993, allocations: 494.8 kB / 0.8197 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.9931, allocations: 12.17 kB / 0.8197 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006871/0.9938, allocations: 315.9 kB / 0.82 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.697e-06/0.9938, allocations: 0 / 0.82 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001394/0.9952, allocations: 394.5 kB / 0.8204 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.9954, allocations: 358.6 kB / 0.8208 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.9957, allocations: 158.4 kB / 0.8209 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.9958, allocations: 41.64 kB / 0.821 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.9959, allocations: 112.9 kB / 0.8211 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.9961, allocations: 118.4 kB / 0.8212 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.9961, allocations: 8 kB / 0.8212 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9963, allocations: 330.8 kB / 0.8215 GB, free: 244 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.9967, allocations: 109.1 kB / 0.8216 GB, free: 132 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.9973, allocations: 176.4 kB / 0.8218 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.9978, allocations: 115.9 kB / 0.8219 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9978, allocations: 4 kB / 0.8219 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001359/0.9992, allocations: 368.9 kB / 0.8222 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.9992, allocations: 8 kB / 0.8222 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9992, allocations: 0 / 0.8222 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.9993, allocations: 7.953 kB / 0.8223 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/1, allocations: 80 kB / 0.8223 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1, allocations: 7.938 kB / 0.8223 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/1.001, allocations: 55.72 kB / 0.8224 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/1.001, allocations: 23.98 kB / 0.8224 GB, free: 15.27 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.0002588/1.001, allocations: 150 kB / 0.8226 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/1.001, allocations: 23.8 kB / 0.8226 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.002, allocations: 369.9 kB / 0.8229 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.002, allocations: 8 kB / 0.8229 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.002, allocations: 7.953 kB / 0.8229 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.002, allocations: 7.984 kB / 0.823 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/1.003, allocations: 341.1 kB / 0.8233 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.003, allocations: 4 kB / 0.8233 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.004, allocations: 75.84 kB / 0.8234 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/1.004, allocations: 4 kB / 0.8234 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/1.004, allocations: 23.98 kB / 0.8234 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/1.004, allocations: 4 kB / 0.8234 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.004, allocations: 4 kB / 0.8234 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/1.005, allocations: 0.614 MB / 0.824 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/1.005, allocations: 148.6 kB / 0.8241 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/1.006, allocations: 15.98 kB / 0.8241 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/1.006, allocations: 43.97 kB / 0.8242 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.006, allocations: 51.83 kB / 0.8242 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/1.006, allocations: 20 kB / 0.8243 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001614/1.006, allocations: 139.2 kB / 0.8244 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.006, allocations: 4 kB / 0.8244 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009886/1.007, allocations: 216.1 kB / 0.8246 GB, free: 12.82 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.002587/1.01, allocations: 2.114 MB / 0.8267 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001173/1.011, allocations: 323.5 kB / 0.827 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/1.011, allocations: 0 / 0.827 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/1.012, allocations: 176.6 kB / 0.8271 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.012, allocations: 28.12 kB / 0.8272 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/1.015, allocations: 2.067 MB / 0.8292 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.015, allocations: 0.7652 MB / 0.8299 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004629/1.016, allocations: 60.36 kB / 0.83 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/1.016, allocations: 91.39 kB / 0.8301 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.016, allocations: 4 kB / 0.8301 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/1.049, allocations: 6.809 MB / 0.8367 GB, free: 284 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003327/1.049, allocations: 187.6 kB / 0.8369 GB, free: 40 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.715, allocations: 4 kB / 0.8369 GB, free: 36 kB / 0.6511 GB