Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.477/2.477, allocations: 248.5 MB / 261.1 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 182.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 90.44 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.886e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2128, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.906/1.119, allocations: 133.2 MB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.119, allocations: 73.27 kB / 1.021 GB, free: 1.656 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54: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.05596/1.175, allocations: 10.33 MB / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.552e-06/1.175, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.175, allocations: 4 kB / 1.031 GB, free: 8.707 MB / 0.6511 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.001879/1.177, allocations: 0.6121 MB / 1.032 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.177, allocations: 12.03 kB / 1.032 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/1.177, allocations: 45.8 kB / 1.032 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/1.177, allocations: 23.72 kB / 1.032 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.178, allocations: 190.6 kB / 1.032 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/1.178, allocations: 134 kB / 1.032 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/1.178, allocations: 21.67 kB / 1.032 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/1.179, allocations: 246 kB / 1.032 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.179, allocations: 3.938 kB / 1.032 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/1.179, allocations: 7.75 kB / 1.032 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.179, allocations: 4 kB / 1.032 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/1.179, allocations: 113 kB / 1.032 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/1.18, allocations: 0.958 MB / 1.033 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/1.183, allocations: 487.4 kB / 1.034 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/1.183, allocations: 154.3 kB / 1.034 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/1.183, allocations: 4 kB / 1.034 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/1.184, allocations: 317 kB / 1.034 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.807e-06/1.184, allocations: 0 / 1.034 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001047/1.185, allocations: 323.8 kB / 1.034 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002029/1.185, allocations: 349.3 kB / 1.035 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/1.186, allocations: 152.8 kB / 1.035 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/1.186, allocations: 43.81 kB / 1.035 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/1.186, allocations: 99.89 kB / 1.035 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/1.186, allocations: 120.1 kB / 1.035 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/1.186, allocations: 6.938 kB / 1.035 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.186, allocations: 329.5 kB / 1.036 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/1.186, allocations: 96.55 kB / 1.036 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/1.187, allocations: 172.1 kB / 1.036 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/1.187, allocations: 108.2 kB / 1.036 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.187, allocations: 0 / 1.036 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001099/1.188, allocations: 354.4 kB / 1.036 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.188, allocations: 4 kB / 1.036 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.188, allocations: 0 / 1.036 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.188, allocations: 11.95 kB / 1.036 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/1.189, allocations: 75.25 kB / 1.036 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.189, allocations: 4 kB / 1.036 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/1.19, allocations: 62.84 kB / 1.036 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/1.19, allocations: 19.3 kB / 1.036 GB, free: 3.141 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 () * 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.0002076/1.19, allocations: 142.4 kB / 1.037 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/1.19, allocations: 27.7 kB / 1.037 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/1.191, allocations: 355.8 kB / 1.037 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/1.191, allocations: 11.95 kB / 1.037 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.191, allocations: 4 kB / 1.037 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/1.192, allocations: 3.984 kB / 1.037 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/1.192, allocations: 353.7 kB / 1.037 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.192, allocations: 4 kB / 1.037 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/1.193, allocations: 71.02 kB / 1.037 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/1.193, allocations: 15.98 kB / 1.037 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/1.193, allocations: 15.56 kB / 1.037 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/1.193, allocations: 12.23 kB / 1.037 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.193, allocations: 9.125 kB / 1.037 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/1.194, allocations: 0.5986 MB / 1.038 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/1.194, allocations: 147.5 kB / 1.038 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/1.194, allocations: 18.88 kB / 1.038 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/1.195, allocations: 38.78 kB / 1.038 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/1.195, allocations: 54.95 kB / 1.038 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/1.195, allocations: 23.92 kB / 1.038 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001684/1.195, allocations: 132 kB / 1.038 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/1.195, allocations: 4 kB / 1.038 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009949/1.196, allocations: 213.9 kB / 1.039 GB, free: 1.043 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.002609/1.199, allocations: 2.098 MB / 1.041 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.2, allocations: 303.2 kB / 1.041 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.2, allocations: 0 / 1.041 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/1.201, allocations: 179.5 kB / 1.041 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/1.201, allocations: 23.73 kB / 1.041 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/1.204, allocations: 0.5864 MB / 1.042 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.204, allocations: 0.765 MB / 1.042 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006025/1.205, allocations: 50.94 kB / 1.042 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/1.205, allocations: 91.14 kB / 1.043 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/1.205, allocations: 0 / 1.043 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/1.247, allocations: 7.038 MB / 1.049 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003704/1.247, allocations: 182.4 kB / 1.05 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.989, allocations: 0 / 1.05 GB, free: 6.039 MB / 0.6667 GB