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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.497/4.497, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.89e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6561, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.9389, allocations: 125.6 MB / 0.7515 GB, free: 2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.9393, allocations: 75.94 kB / 0.7516 GB, free: 1.926 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.0619/1.001, allocations: 10.24 MB / 0.7616 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.998e-06/1.001, allocations: 4 kB / 0.7616 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.001, allocations: 0 / 0.7616 GB, free: 7.668 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.001945/1.003, allocations: 0.6109 MB / 0.7622 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.003, allocations: 11.97 kB / 0.7622 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/1.003, allocations: 23.72 kB / 0.7622 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.004, allocations: 186.8 kB / 0.7624 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/1.004, allocations: 7.938 kB / 0.7624 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/1.004, allocations: 23.98 kB / 0.7624 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003578/1.004, allocations: 91.97 kB / 0.7625 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/1.005, allocations: 227.5 kB / 0.7627 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/1.005, allocations: 8 kB / 0.7627 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/1.005, allocations: 3.984 kB / 0.7627 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.005, allocations: 4 kB / 0.7628 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/1.006, allocations: 0.9092 MB / 0.7636 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/1.008, allocations: 471.5 kB / 0.7641 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/1.009, allocations: 146.5 kB / 0.7642 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/1.009, allocations: 7.938 kB / 0.7642 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/1.009, allocations: 295.7 kB / 0.7645 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 4.107e-06/1.009, allocations: 0 / 0.7645 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.003708/1.013, allocations: 0.489 MB / 0.765 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/1.013, allocations: 362.1 kB / 0.7653 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/1.013, allocations: 152.2 kB / 0.7655 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/1.014, allocations: 33.7 kB / 0.7655 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/1.014, allocations: 109.2 kB / 0.7656 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/1.014, allocations: 98.56 kB / 0.7657 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/1.014, allocations: 4 kB / 0.7657 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.014, allocations: 330.8 kB / 0.766 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.014, allocations: 89.11 kB / 0.7661 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/1.015, allocations: 159.3 kB / 0.7663 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004823/1.02, allocations: 439.3 kB / 0.7667 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.02, allocations: 4 kB / 0.7667 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005546/1.025, allocations: 0.6494 MB / 0.7673 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.025, allocations: 8 kB / 0.7673 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.025, allocations: 4 kB / 0.7673 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/1.025, allocations: 4 kB / 0.7673 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/1.026, allocations: 67.88 kB / 0.7674 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.026, allocations: 8.203 kB / 0.7674 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/1.027, allocations: 51.64 kB / 0.7675 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/1.027, allocations: 31.98 kB / 0.7675 GB, free: 1.066 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0002078/1.027, allocations: 120 kB / 0.7676 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003682/1.031, allocations: 496.7 kB / 0.7681 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/1.031, allocations: 27.8 kB / 0.7681 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/1.032, allocations: 330.9 kB / 0.7684 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.032, allocations: 15.89 kB / 0.7684 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.032, allocations: 4 kB / 0.7684 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.032, allocations: 4 kB / 0.7684 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/1.033, allocations: 298.2 kB / 0.7687 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.033, allocations: 7.984 kB / 0.7687 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/1.033, allocations: 71.91 kB / 0.7688 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/1.033, allocations: 4 kB / 0.7688 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/1.033, allocations: 15.98 kB / 0.7688 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.033, allocations: 7.938 kB / 0.7688 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.033, allocations: 8 kB / 0.7688 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/1.037, allocations: 0.784 MB / 0.7696 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/1.038, allocations: 144.6 kB / 0.7697 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/1.038, allocations: 8 kB / 0.7698 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/1.038, allocations: 35.91 kB / 0.7698 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.038, allocations: 51.89 kB / 0.7698 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/1.038, allocations: 23.98 kB / 0.7699 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001515/1.039, allocations: 123.2 kB / 0.77 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.665e-06/1.039, allocations: 0 / 0.77 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009817/1.04, allocations: 203.7 kB / 0.7702 GB, free: 14.12 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) * 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.005307/1.045, allocations: 2.281 MB / 0.7724 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00242/1.047, allocations: 2.97 MB / 0.7753 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.048, allocations: 224 / 0.7753 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004876/1.048, allocations: 169.2 kB / 0.7755 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.048, allocations: 16.14 kB / 0.7755 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/1.05, allocations: 0.5331 MB / 0.776 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/1.051, allocations: 0.7689 MB / 0.7767 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003711/1.051, allocations: 51.94 kB / 0.7768 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.051, allocations: 91.38 kB / 0.7769 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.051, allocations: 0 / 0.7769 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/1.105, allocations: 6.756 MB / 0.7835 GB, free: 232 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/1.105, allocations: 165.9 kB / 0.7836 GB, free: 40 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.74, allocations: 0 / 0.7836 GB, free: 40 kB / 0.6511 GB