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.01481/0.01481, allocations: 111.2 kB / 15.06 MB, free: 5.965 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.001814/0.001813, allocations: 180 kB / 15.94 MB, free: 5.93 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.134/2.134, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.263/2.263, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 16 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5471, allocations: 98.7 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.7533, allocations: 126.3 MB / 0.8067 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.7536, allocations: 67.97 kB / 0.8068 GB, free: 15.91 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.05057/0.8042, allocations: 10.32 MB / 0.8168 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.776e-06/0.8042, allocations: 3.938 kB / 0.8168 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.8042, allocations: 4 kB / 0.8168 GB, free: 5.57 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.001473/0.8057, allocations: 0.6314 MB / 0.8175 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.8058, allocations: 8.031 kB / 0.8175 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.8059, allocations: 19.81 kB / 0.8175 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.8061, allocations: 197.8 kB / 0.8177 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.8063, allocations: 126.8 kB / 0.8178 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.8064, allocations: 24 kB / 0.8178 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.8069, allocations: 244.1 kB / 0.8181 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.8069, allocations: 0 / 0.8181 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.8069, allocations: 11.98 kB / 0.8181 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.831e-06/0.807, allocations: 4 kB / 0.8181 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.8073, allocations: 127.7 kB / 0.8182 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.8085, allocations: 0.9511 MB / 0.8191 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.8103, allocations: 491.6 kB / 0.8196 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.8104, allocations: 15.98 kB / 0.8196 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006084/0.811, allocations: 312 kB / 0.8199 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 3.429e-06/0.811, allocations: 0 / 0.8199 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001165/0.8122, allocations: 401 kB / 0.8203 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/0.8124, allocations: 354.1 kB / 0.8206 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.8126, allocations: 157.7 kB / 0.8208 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.8127, allocations: 45.64 kB / 0.8208 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.8128, allocations: 109.4 kB / 0.8209 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.813, allocations: 118.4 kB / 0.821 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.813, allocations: 8 kB / 0.821 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8132, allocations: 334.8 kB / 0.8214 GB, free: 436 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.8136, allocations: 105.1 kB / 0.8215 GB, free: 328 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.814, allocations: 180.3 kB / 0.8216 GB, free: 124 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.8144, allocations: 112 kB / 0.8217 GB, free: 12 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.505e-06/0.8145, allocations: 0 / 0.8217 GB, free: 12 kB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001113/0.8156, allocations: 365.8 kB / 0.8221 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.8156, allocations: 4 kB / 0.8221 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8156, allocations: 4 kB / 0.8221 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.8157, allocations: 8.172 kB / 0.8221 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.8162, allocations: 79.84 kB / 0.8222 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.8162, allocations: 11.92 kB / 0.8222 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.8166, allocations: 55.64 kB / 0.8222 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.8167, allocations: 23.97 kB / 0.8223 GB, free: 15.46 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.0002905/0.817, allocations: 157.7 kB / 0.8224 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.8172, allocations: 23.81 kB / 0.8224 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.8183, allocations: 367.1 kB / 0.8228 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.8184, allocations: 8 kB / 0.8228 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.8184, allocations: 7.953 kB / 0.8228 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.8184, allocations: 7.984 kB / 0.8228 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.819, allocations: 357 kB / 0.8232 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.034e-06/0.819, allocations: 4 kB / 0.8232 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.8194, allocations: 71.84 kB / 0.8232 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.8195, allocations: 4 kB / 0.8232 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.8195, allocations: 19.98 kB / 0.8232 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.8195, allocations: 4 kB / 0.8233 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.258e-06/0.8196, allocations: 4 kB / 0.8233 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.8207, allocations: 0.6019 MB / 0.8238 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.8209, allocations: 152.6 kB / 0.824 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.821, allocations: 16 kB / 0.824 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.8213, allocations: 39.97 kB / 0.824 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.8215, allocations: 55.83 kB / 0.8241 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.8216, allocations: 23.98 kB / 0.8241 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001553/0.8217, allocations: 131.6 kB / 0.8242 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.6e-07/0.8218, allocations: 0 / 0.8242 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008787/0.8226, allocations: 215.7 kB / 0.8244 GB, free: 13.02 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.0006926/0.8233, allocations: 321 kB / 0.8248 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008983/0.8243, allocations: 315.7 kB / 0.8251 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8243, allocations: 4 kB / 0.8251 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.8247, allocations: 180.3 kB / 0.8252 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.825, allocations: 26.23 kB / 0.8253 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.8263, allocations: 0.636 MB / 0.8259 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.8268, allocations: 0.7692 MB / 0.8266 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.8272, allocations: 59.67 kB / 0.8267 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.8274, allocations: 43.41 kB / 0.8267 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.717e-06/0.8274, allocations: 0 / 0.8267 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01289/0.8403, allocations: 4.699 MB / 0.8313 GB, free: 5.906 MB / 0.6511 GB