Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 176.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009632/0.000963, allocations: 90.89 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.371e-05, allocations: 4 kB / 0.8518 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7709, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.9934, allocations: 138.1 MB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.9937, allocations: 74.84 kB / 1.099 GB, free: 1.672 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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.03466/1.028, allocations: 10.01 MB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/1.028, allocations: 3.938 kB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.028, allocations: 4 kB / 1.109 GB, free: 7.734 MB / 0.7136 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.001457/1.03, allocations: 0.6109 MB / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.03, allocations: 8.031 kB / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/1.03, allocations: 20.84 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.03, allocations: 186.8 kB / 1.11 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/1.03, allocations: 4 kB / 1.11 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/1.03, allocations: 19.98 kB / 1.11 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002435/1.031, allocations: 87.97 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/1.031, allocations: 238.6 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.031, allocations: 0 / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/1.031, allocations: 3.984 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.031, allocations: 8 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/1.032, allocations: 0.9091 MB / 1.111 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/1.033, allocations: 474.5 kB / 1.112 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/1.034, allocations: 142.4 kB / 1.112 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/1.034, allocations: 11.98 kB / 1.112 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/1.034, allocations: 291.7 kB / 1.112 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/1.034, allocations: 0 / 1.112 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.002519/1.037, allocations: 0.4922 MB / 1.112 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.037, allocations: 346.1 kB / 1.113 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.037, allocations: 156.6 kB / 1.113 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/1.037, allocations: 37.7 kB / 1.113 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/1.037, allocations: 105.2 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.037, allocations: 102.5 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/1.037, allocations: 4 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.038, allocations: 338.8 kB / 1.113 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/1.038, allocations: 93.05 kB / 1.114 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/1.038, allocations: 159.3 kB / 1.114 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/1.041, allocations: 437.4 kB / 1.114 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.041, allocations: 0 / 1.114 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003636/1.045, allocations: 0.6472 MB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.045, allocations: 8 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.045, allocations: 0 / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/1.045, allocations: 4 kB / 1.115 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/1.045, allocations: 71.89 kB / 1.115 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.045, allocations: 4 kB / 1.115 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/1.046, allocations: 47.66 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/1.046, allocations: 23.98 kB / 1.115 GB, free: 1.176 MB / 0.7136 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.0002535/1.046, allocations: 136.2 kB / 1.115 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/1.046, allocations: 27.7 kB / 1.115 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008253/1.047, allocations: 320.7 kB / 1.115 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.047, allocations: 8 kB / 1.115 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.047, allocations: 10.23 kB / 1.115 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.047, allocations: 4 kB / 1.115 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/1.048, allocations: 309.6 kB / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.048, allocations: 0 / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/1.048, allocations: 79.83 kB / 1.116 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.048, allocations: 4 kB / 1.116 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/1.048, allocations: 12 kB / 1.116 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.048, allocations: 9.359 kB / 1.116 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.048, allocations: 4 kB / 1.116 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/1.051, allocations: 0.7776 MB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.051, allocations: 156.5 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/1.051, allocations: 10.42 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/1.051, allocations: 23.98 kB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.051, allocations: 63.86 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.052, allocations: 20 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000119/1.052, allocations: 127.2 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.052, allocations: 0 / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007506/1.052, allocations: 195.7 kB / 1.117 GB, free: 14.73 MB / 0.7292 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.0008186/1.053, allocations: 315.2 kB / 1.117 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002094/1.055, allocations: 2.967 MB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.055, allocations: 4.219 kB / 1.12 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/1.056, allocations: 159.7 kB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.056, allocations: 20.12 kB / 1.121 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/1.057, allocations: 409 kB / 1.121 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/1.057, allocations: 0.769 MB / 1.122 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000233/1.058, allocations: 58.19 kB / 1.122 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.058, allocations: 47.41 kB / 1.122 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/1.058, allocations: 0 / 1.122 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of Templates: time 0.0102/1.068, allocations: 4.73 MB / 1.126 GB, free: 5.184 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)