Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001885/0.001884, allocations: 191.4 kB / 377.1 MB, free: 1.512 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.856/1.856, allocations: 205.4 MB / 0.6367 GB, free: 9.57 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.0008924/0.0008925, allocations: 98.19 kB / 0.751 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 12 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 116.3 MB / 0.9884 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/0.9576, allocations: 139.8 MB / 1.125 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.9579, allocations: 73.41 kB / 1.125 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03249/0.9904, allocations: 10.4 MB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9905, allocations: 0 / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.9905, allocations: 4 kB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001656/0.9922, allocations: 0.6421 MB / 1.136 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.9922, allocations: 15.95 kB / 1.136 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.9924, allocations: 23.92 kB / 1.136 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.9926, allocations: 185.2 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.9928, allocations: 131 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/0.9929, allocations: 21.98 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.9933, allocations: 234.5 kB / 1.136 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9934, allocations: 0 / 1.136 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.9934, allocations: 9.828 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.9934, allocations: 9.703 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.9937, allocations: 113.8 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.9942, allocations: 398.4 kB / 1.137 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.9956, allocations: 498.7 kB / 1.137 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.9957, allocations: 14.23 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.9962, allocations: 312.8 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.697e-06/0.9962, allocations: 0 / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0009258/0.9971, allocations: 406.6 kB / 1.138 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.9973, allocations: 352.8 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.9974, allocations: 157.7 kB / 1.139 GB, free: 24.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.9975, allocations: 46.22 kB / 1.139 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.9975, allocations: 95.67 kB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.9976, allocations: 103.1 kB / 1.139 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.9977, allocations: 12.94 kB / 1.139 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.9978, allocations: 330 kB / 1.139 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.9981, allocations: 114.7 kB / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.9984, allocations: 167.8 kB / 1.139 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.9987, allocations: 123.4 kB / 1.139 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9987, allocations: 4.469 kB / 1.139 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007164/0.9994, allocations: 372.2 kB / 1.14 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.9995, allocations: 4 kB / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9995, allocations: 0 / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.9995, allocations: 4.75 kB / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.9999, allocations: 88.19 kB / 1.14 GB, free: 22.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1, allocations: 0 / 1.14 GB, free: 22.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/1, allocations: 60.72 kB / 1.14 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/1, allocations: 19.98 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001799/1.001, allocations: 147.8 kB / 1.14 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/1.001, allocations: 36.42 kB / 1.14 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/1.001, allocations: 360.6 kB / 1.141 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.001, allocations: 8 kB / 1.141 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.001, allocations: 4.984 kB / 1.141 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.001, allocations: 7 kB / 1.141 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/1.002, allocations: 355.7 kB / 1.141 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.002, allocations: 8 kB / 1.141 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/1.002, allocations: 72.98 kB / 1.141 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.002, allocations: 4 kB / 1.141 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/1.002, allocations: 23.12 kB / 1.141 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/1.002, allocations: 5.734 kB / 1.141 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.002, allocations: 4 kB / 1.141 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/1.003, allocations: 0.606 MB / 1.142 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/1.003, allocations: 156.4 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/1.003, allocations: 25.27 kB / 1.142 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/1.004, allocations: 37.81 kB / 1.142 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.004, allocations: 48.72 kB / 1.142 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/1.004, allocations: 27 kB / 1.142 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.666e-05/1.004, allocations: 127.8 kB / 1.142 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 4 kB / 1.142 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009233/1.005, allocations: 219.4 kB / 1.142 GB, free: 20.39 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.000817/1.006, allocations: 325.5 kB / 1.142 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000655/1.006, allocations: 319.3 kB / 1.143 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.006, allocations: 4 kB / 1.143 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/1.007, allocations: 191.6 kB / 1.143 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/1.007, allocations: 28.19 kB / 1.143 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.008, allocations: 0.6309 MB / 1.144 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.008, allocations: 0.7691 MB / 1.144 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002976/1.009, allocations: 55.58 kB / 1.144 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.009, allocations: 50.7 kB / 1.144 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.009, allocations: 0 / 1.144 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.01198/1.021, allocations: 4.807 MB / 1.149 GB, free: 15.4 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)