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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001291/0.001291, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.857/1.857, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009439/0.0009441, allocations: 81.78 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.907e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8122, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/1.017, allocations: 138.1 MB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/1.017, allocations: 63.97 kB / 1.099 GB, free: 1.684 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.03424/1.051, allocations: 10.01 MB / 1.109 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.176e-06/1.051, allocations: 4 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.051, allocations: 0 / 1.109 GB, free: 7.754 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.001626/1.053, allocations: 0.6147 MB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.053, allocations: 8.031 kB / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.053, allocations: 20.84 kB / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/1.053, allocations: 189.4 kB / 1.11 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/1.053, allocations: 4 kB / 1.11 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/1.053, allocations: 12 kB / 1.11 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002673/1.054, allocations: 95.95 kB / 1.11 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/1.054, allocations: 230.7 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.054, allocations: 10.94 kB / 1.11 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.054, allocations: 0 / 1.11 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.054, allocations: 4 kB / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/1.055, allocations: 0.9169 MB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/1.057, allocations: 479.7 kB / 1.112 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/1.057, allocations: 146.3 kB / 1.112 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/1.057, allocations: 4 kB / 1.112 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/1.057, allocations: 289.7 kB / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.226e-06/1.057, allocations: 0 / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.002469/1.06, allocations: 496.7 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/1.06, allocations: 354.1 kB / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.06, allocations: 160.6 kB / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/1.06, allocations: 29.7 kB / 1.113 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/1.061, allocations: 105.2 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/1.061, allocations: 106.6 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/1.061, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.061, allocations: 338.8 kB / 1.113 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/1.061, allocations: 89.11 kB / 1.114 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.061, allocations: 163.3 kB / 1.114 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/1.064, allocations: 433.5 kB / 1.114 GB, free: 2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.064, allocations: 4 kB / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003386/1.068, allocations: 0.6444 MB / 1.115 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.068, allocations: 4 kB / 1.115 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.068, allocations: 7.984 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.068, allocations: 7.938 kB / 1.115 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.068, allocations: 69.14 kB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.068, allocations: 4 kB / 1.115 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/1.068, allocations: 51.66 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/1.069, allocations: 19.98 kB / 1.115 GB, free: 1.188 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.000214/1.069, allocations: 135.9 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/1.069, allocations: 27.72 kB / 1.115 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/1.07, allocations: 325 kB / 1.115 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.07, allocations: 8 kB / 1.115 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.07, allocations: 4 kB / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.07, allocations: 7.984 kB / 1.115 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/1.07, allocations: 305.6 kB / 1.116 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.07, allocations: 8 kB / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/1.07, allocations: 75.83 kB / 1.116 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.07, allocations: 4.844 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/1.07, allocations: 12 kB / 1.116 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.07, allocations: 4 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/1.07, allocations: 9.609 kB / 1.116 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/1.073, allocations: 0.7774 MB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/1.073, allocations: 152.5 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/1.073, allocations: 11.98 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/1.074, allocations: 23.98 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.074, allocations: 57.98 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/1.074, allocations: 25.22 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001229/1.074, allocations: 123.8 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.074, allocations: 0 / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008594/1.075, allocations: 195.7 kB / 1.117 GB, free: 14.75 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.0007843/1.076, allocations: 317.6 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.077, allocations: 2.964 MB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.078, allocations: 4.219 kB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.078, allocations: 167.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.0002182/1.078, allocations: 12.75 kB / 1.121 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/1.079, allocations: 418 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.079, allocations: 0.769 MB / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002207/1.08, allocations: 47.25 kB / 1.122 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.08, allocations: 43.41 kB / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/1.08, allocations: 0 / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of Templates: time 0.00902/1.089, allocations: 4.731 MB / 1.126 GB, free: 5.203 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)