Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.506/2.506, allocations: 284.8 MB / 297.3 MB, free: 6.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.001471, allocations: 180.2 kB / 365.7 MB, free: 2.539 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.2 MB / 0.6241 GB, free: 8.156 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 105.6 kB / 0.7372 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.304e-05, allocations: 4 kB / 0.8574 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8041, allocations: 115.2 MB / 0.97 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/1.039, allocations: 138.6 MB / 1.105 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.039, allocations: 71.95 kB / 1.105 GB, free: 13.78 MB / 0.7136 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0589/1.098, allocations: 10.05 MB / 1.115 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/1.098, allocations: 4 kB / 1.115 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.098, allocations: 0 / 1.115 GB, free: 3.777 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.001975/1.1, allocations: 0.6171 MB / 1.116 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.1, allocations: 8.031 kB / 1.116 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/1.101, allocations: 25.02 kB / 1.116 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/1.101, allocations: 190.7 kB / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/1.101, allocations: 130.7 kB / 1.116 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/1.101, allocations: 27.84 kB / 1.116 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/1.102, allocations: 243.7 kB / 1.116 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.102, allocations: 0 / 1.116 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/1.102, allocations: 11.98 kB / 1.116 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.102, allocations: 4 kB / 1.116 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/1.102, allocations: 115.8 kB / 1.117 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/1.104, allocations: 0.955 MB / 1.117 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/1.106, allocations: 491.6 kB / 1.118 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/1.107, allocations: 146.4 kB / 1.118 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/1.107, allocations: 11.92 kB / 1.118 GB, free: 464 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006814/1.107, allocations: 302 kB / 1.118 GB, free: 104 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.637e-06/1.107, allocations: 0 / 1.118 GB, free: 104 kB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001093/1.109, allocations: 315.7 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/1.109, allocations: 354.1 kB / 1.119 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/1.109, allocations: 160.5 kB / 1.119 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/1.109, allocations: 41.83 kB / 1.119 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.109, allocations: 108.9 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.109, allocations: 110.5 kB / 1.119 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/1.109, allocations: 8 kB / 1.119 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.11, allocations: 334.8 kB / 1.12 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/1.11, allocations: 97.11 kB / 1.12 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/1.11, allocations: 168.4 kB / 1.12 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/1.111, allocations: 106.1 kB / 1.12 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.111, allocations: 0 / 1.12 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001091/1.112, allocations: 350.8 kB / 1.12 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.112, allocations: 9.391 kB / 1.12 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.112, allocations: 4 kB / 1.12 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/1.112, allocations: 4 kB / 1.12 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/1.113, allocations: 75.88 kB / 1.121 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.113, allocations: 15.89 kB / 1.121 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/1.113, allocations: 55.67 kB / 1.121 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/1.113, allocations: 23.97 kB / 1.121 GB, free: 13.67 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.0002003/1.114, allocations: 132 kB / 1.121 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/1.114, allocations: 27.66 kB / 1.121 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/1.115, allocations: 364.6 kB / 1.121 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/1.115, allocations: 8 kB / 1.121 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.115, allocations: 4 kB / 1.121 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.115, allocations: 11.94 kB / 1.121 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/1.116, allocations: 353 kB / 1.121 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.116, allocations: 8 kB / 1.121 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/1.116, allocations: 78.75 kB / 1.122 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/1.116, allocations: 4 kB / 1.122 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/1.116, allocations: 19.98 kB / 1.122 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.116, allocations: 6.5 kB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/1.116, allocations: 4 kB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.118, allocations: 0.598 MB / 1.122 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/1.118, allocations: 152.5 kB / 1.122 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/1.118, allocations: 20 kB / 1.122 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/1.119, allocations: 39.97 kB / 1.122 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.119, allocations: 51.83 kB / 1.122 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/1.119, allocations: 27.98 kB / 1.122 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001699/1.119, allocations: 127.3 kB / 1.123 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.119, allocations: 0 / 1.123 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001021/1.12, allocations: 211.7 kB / 1.123 GB, free: 11.27 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.0008837/1.121, allocations: 322 kB / 1.123 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.122, allocations: 299.6 kB / 1.123 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.122, allocations: 0 / 1.123 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/1.123, allocations: 186.3 kB / 1.124 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.123, allocations: 22.52 kB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/1.124, allocations: 432.9 kB / 1.124 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/1.125, allocations: 0.7689 MB / 1.125 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001155/1.126, allocations: 54.59 kB / 1.125 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.126, allocations: 47.41 kB / 1.125 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/1.126, allocations: 0 / 1.125 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of Templates: time 0.01519/1.142, allocations: 4.688 MB / 1.129 GB, free: 4.457 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)