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 3.001/3.001, allocations: 287.5 MB / 302.5 MB, free: 8.305 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.001576/0.001576, allocations: 183.3 kB / 371 MB, free: 10.75 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.125/2.125, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 94.89 kB / 0.743 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005247, allocations: 11.91 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9441/1.17, allocations: 138.6 MB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.17, allocations: 72.44 kB / 1.114 GB, free: 15.79 MB / 0.6823 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.05085/1.221, allocations: 10.08 MB / 1.124 GB, free: 30.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/1.221, allocations: 3.938 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.221, allocations: 3.906 kB / 1.124 GB, free: 30.95 MB / 0.698 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.001792/1.223, allocations: 0.6307 MB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.223, allocations: 7.625 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/1.223, allocations: 25.92 kB / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/1.223, allocations: 186.6 kB / 1.125 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/1.224, allocations: 134.8 kB / 1.125 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/1.224, allocations: 18.62 kB / 1.125 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/1.224, allocations: 252.2 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.224, allocations: 3.938 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/1.224, allocations: 11.08 kB / 1.125 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.224, allocations: 7.781 kB / 1.125 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/1.225, allocations: 116.8 kB / 1.125 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/1.226, allocations: 0.9511 MB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.228, allocations: 492.8 kB / 1.126 GB, free: 28.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/1.228, allocations: 14.28 kB / 1.126 GB, free: 28.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/1.229, allocations: 301.2 kB / 1.127 GB, free: 28.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.028e-06/1.229, allocations: 0 / 1.127 GB, free: 28.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001131/1.23, allocations: 409.2 kB / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/1.23, allocations: 352.2 kB / 1.127 GB, free: 28.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/1.23, allocations: 160.9 kB / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/1.23, allocations: 38.2 kB / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/1.23, allocations: 110.2 kB / 1.128 GB, free: 27.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.23, allocations: 114.3 kB / 1.128 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/1.231, allocations: 10.62 kB / 1.128 GB, free: 27.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.231, allocations: 329.3 kB / 1.128 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/1.231, allocations: 102.8 kB / 1.128 GB, free: 27.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/1.232, allocations: 184 kB / 1.128 GB, free: 27.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/1.232, allocations: 120.2 kB / 1.129 GB, free: 27.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.232, allocations: 3.844 kB / 1.129 GB, free: 27.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001094/1.233, allocations: 358.8 kB / 1.129 GB, free: 27.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.233, allocations: 3.781 kB / 1.129 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.233, allocations: 6.875 kB / 1.129 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.233, allocations: 7.781 kB / 1.129 GB, free: 27.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/1.234, allocations: 78.25 kB / 1.129 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.234, allocations: 10.97 kB / 1.129 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/1.234, allocations: 56.52 kB / 1.129 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/1.234, allocations: 18.33 kB / 1.129 GB, free: 27.39 MB / 0.698 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 () * 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.0002332/1.235, allocations: 159.3 kB / 1.129 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/1.235, allocations: 27.09 kB / 1.129 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009851/1.236, allocations: 365.8 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.236, allocations: 11.56 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.236, allocations: 3.906 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.236, allocations: 14.52 kB / 1.13 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/1.236, allocations: 344.7 kB / 1.13 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.236, allocations: 128 / 1.13 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/1.237, allocations: 84.28 kB / 1.13 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.237, allocations: 3.781 kB / 1.13 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/1.237, allocations: 17.66 kB / 1.13 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.237, allocations: 3.875 kB / 1.13 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.237, allocations: 7.812 kB / 1.13 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/1.238, allocations: 0.6097 MB / 1.131 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/1.238, allocations: 149.9 kB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/1.238, allocations: 17.22 kB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/1.239, allocations: 36.27 kB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.239, allocations: 59.36 kB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/1.239, allocations: 21.31 kB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001359/1.239, allocations: 127.9 kB / 1.131 GB, free: 26.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.239, allocations: 0 / 1.131 GB, free: 26.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009127/1.24, allocations: 212.1 kB / 1.131 GB, free: 26.32 MB / 0.698 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) * 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.0007201/1.241, allocations: 324.9 kB / 1.132 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008857/1.242, allocations: 319.1 kB / 1.132 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.242, allocations: 0 / 1.132 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/1.242, allocations: 184.4 kB / 1.132 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.242, allocations: 25.88 kB / 1.132 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.244, allocations: 0.6318 MB / 1.133 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/1.244, allocations: 0.7671 MB / 1.133 GB, free: 25.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003747/1.244, allocations: 60.78 kB / 1.134 GB, free: 25.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/1.245, allocations: 43.66 kB / 1.134 GB, free: 25.01 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/1.245, allocations: 0 / 1.134 GB, free: 25.01 MB / 0.698 GB Notification: Performance of Templates: time 0.01201/1.257, allocations: 4.689 MB / 1.138 GB, free: 23.12 MB / 0.698 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)