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.652/1.652, allocations: 285.4 MB / 298 MB, free: 6.02 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.0009511/0.0009508, allocations: 176.8 kB / 366.4 MB, free: 2.125 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.854/1.854, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0009559/0.000956, allocations: 88.98 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.007e-05, allocations: 8 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8057, allocations: 115.3 MB / 0.9709 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/1.028, allocations: 138.7 MB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.028, allocations: 67.95 kB / 1.106 GB, free: 13.02 MB / 0.7136 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.04194/1.07, allocations: 10.06 MB / 1.116 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/1.07, allocations: 4 kB / 1.116 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.07, allocations: 4 kB / 1.116 GB, free: 3.012 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.001468/1.071, allocations: 0.6031 MB / 1.117 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.072, allocations: 12.03 kB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/1.072, allocations: 15.81 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/1.072, allocations: 205.6 kB / 1.117 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.072, allocations: 126.7 kB / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/1.072, allocations: 20 kB / 1.117 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/1.073, allocations: 253.4 kB / 1.117 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.073, allocations: 0 / 1.117 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/1.073, allocations: 7.984 kB / 1.117 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.073, allocations: 8 kB / 1.117 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/1.073, allocations: 119.8 kB / 1.118 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/1.074, allocations: 0.9472 MB / 1.119 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.075, allocations: 491.6 kB / 1.119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/1.076, allocations: 150.4 kB / 1.119 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/1.076, allocations: 7.938 kB / 1.119 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004424/1.076, allocations: 304.1 kB / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/1.076, allocations: 0 / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0006936/1.077, allocations: 310.8 kB / 1.12 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/1.077, allocations: 358 kB / 1.12 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/1.077, allocations: 160.5 kB / 1.12 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/1.077, allocations: 41.83 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/1.077, allocations: 108.9 kB / 1.12 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/1.078, allocations: 110.5 kB / 1.12 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/1.078, allocations: 8.844 kB / 1.12 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.078, allocations: 330.8 kB / 1.121 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/1.078, allocations: 97.11 kB / 1.121 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/1.078, allocations: 172.4 kB / 1.121 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/1.078, allocations: 102.9 kB / 1.121 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.078, allocations: 4 kB / 1.121 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006608/1.079, allocations: 350.5 kB / 1.121 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.079, allocations: 12.92 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.079, allocations: 0 / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.079, allocations: 4 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/1.08, allocations: 83.81 kB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/1.08, allocations: 8 kB / 1.122 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/1.08, allocations: 55.62 kB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.08, allocations: 31.91 kB / 1.122 GB, free: 12.9 MB / 0.7292 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.0001378/1.08, allocations: 130.6 kB / 1.122 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.08, allocations: 27.72 kB / 1.122 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/1.081, allocations: 358 kB / 1.122 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.081, allocations: 8 kB / 1.122 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.081, allocations: 4 kB / 1.122 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.081, allocations: 7.984 kB / 1.122 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/1.082, allocations: 357 kB / 1.123 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.082, allocations: 0 / 1.123 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/1.082, allocations: 81.91 kB / 1.123 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/1.082, allocations: 4 kB / 1.123 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/1.082, allocations: 19.98 kB / 1.123 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.082, allocations: 8 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.082, allocations: 0 / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/1.083, allocations: 0.6019 MB / 1.123 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/1.083, allocations: 152.5 kB / 1.123 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/1.083, allocations: 20 kB / 1.123 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/1.083, allocations: 37.03 kB / 1.123 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.083, allocations: 55.83 kB / 1.123 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/1.083, allocations: 23.98 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000111/1.084, allocations: 131.2 kB / 1.124 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.084, allocations: 0 / 1.124 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008641/1.084, allocations: 215.7 kB / 1.124 GB, free: 10.5 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.0008943/1.085, allocations: 329.8 kB / 1.124 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006036/1.086, allocations: 302.3 kB / 1.124 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.086, allocations: 0 / 1.124 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/1.086, allocations: 185.9 kB / 1.125 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1.086, allocations: 27.56 kB / 1.125 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/1.087, allocations: 439.3 kB / 1.125 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/1.088, allocations: 0.765 MB / 1.126 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002385/1.088, allocations: 53.94 kB / 1.126 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.088, allocations: 43.41 kB / 1.126 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/1.088, allocations: 0 / 1.126 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of Templates: time 0.009848/1.098, allocations: 4.7 MB / 1.13 GB, free: 3.668 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)