Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 176.5 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 90.28 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 12.19 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.0008052/0.1554, allocations: 0.6265 MB / 0.9021 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1578, allocations: 2.557 MB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.1579, allocations: 0 / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.1579, allocations: 7.875 kB / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1581, allocations: 43.67 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.1588, allocations: 418.8 kB / 0.905 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.159, allocations: 303.1 kB / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.159, allocations: 13.67 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1592, allocations: 135.6 kB / 0.9054 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1594, allocations: 147.4 kB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.1594, allocations: 16 kB / 0.9056 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.1599, allocations: 295.8 kB / 0.9059 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1599, allocations: 63.77 kB / 0.9059 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.16, allocations: 129.2 kB / 0.9061 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.1604, allocations: 411.3 kB / 0.9065 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1604, allocations: 0 / 0.9065 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1604, allocations: 0 / 0.9065 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1604, allocations: 0 / 0.9065 GB, free: 58.34 MB / 0.6042 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.001082/0.1615, allocations: 0.6317 MB / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1615, allocations: 8.031 kB / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.1616, allocations: 20.75 kB / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.1617, allocations: 200.7 kB / 0.9073 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1618, allocations: 127.4 kB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.1619, allocations: 20.38 kB / 0.9074 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1621, allocations: 243.8 kB / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1622, allocations: 0 / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.1622, allocations: 8 kB / 0.9077 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1622, allocations: 4 kB / 0.9077 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1624, allocations: 115.7 kB / 0.9078 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.1627, allocations: 395.1 kB / 0.9082 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.164, allocations: 0.4953 MB / 0.9087 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1642, allocations: 162.3 kB / 0.9088 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1642, allocations: 11.92 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.1646, allocations: 316.3 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.714e-06/0.1646, allocations: 0 / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006336/0.1652, allocations: 408.9 kB / 0.9095 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1653, allocations: 354.5 kB / 0.9098 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.1654, allocations: 174.1 kB / 0.91 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.1654, allocations: 41.7 kB / 0.9101 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.1655, allocations: 97.12 kB / 0.9101 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.1655, allocations: 106.5 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.1656, allocations: 15.94 kB / 0.9103 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.1656, allocations: 330.8 kB / 0.9106 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1659, allocations: 117.1 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1661, allocations: 172.9 kB / 0.9109 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.1665, allocations: 263.1 kB / 0.9111 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1666, allocations: 7.938 kB / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006038/0.1672, allocations: 376 kB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1672, allocations: 12 kB / 0.9115 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1672, allocations: 0 / 0.9115 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1672, allocations: 4 kB / 0.9115 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.1676, allocations: 75.88 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1676, allocations: 11.92 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.1679, allocations: 55.66 kB / 0.9116 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1679, allocations: 27.98 kB / 0.9116 GB, free: 52.45 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.168, allocations: 146.5 kB / 0.9118 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.1681, allocations: 31.73 kB / 0.9118 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.1687, allocations: 363.2 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1687, allocations: 8.062 kB / 0.9122 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1687, allocations: 8 kB / 0.9122 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.1687, allocations: 7.984 kB / 0.9122 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.169, allocations: 345.1 kB / 0.9125 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.169, allocations: 7.938 kB / 0.9125 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.1693, allocations: 71.91 kB / 0.9126 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1693, allocations: 4 kB / 0.9126 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1693, allocations: 23.98 kB / 0.9126 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1693, allocations: 7.938 kB / 0.9126 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1693, allocations: 4 kB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.1698, allocations: 0.4939 MB / 0.9131 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.17, allocations: 152.5 kB / 0.9133 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.17, allocations: 19.98 kB / 0.9133 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1702, allocations: 39.97 kB / 0.9133 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.1703, allocations: 55.81 kB / 0.9134 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1704, allocations: 20 kB / 0.9134 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.1704, allocations: 131.7 kB / 0.9135 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1705, allocations: 4 kB / 0.9135 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004402/0.1709, allocations: 215.7 kB / 0.9137 GB, free: 50.19 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004458/0.1714, allocations: 328.8 kB / 0.914 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.1719, allocations: 321.4 kB / 0.9143 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1719, allocations: 0 / 0.9143 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.1721, allocations: 188.2 kB / 0.9145 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1724, allocations: 34.02 kB / 0.9146 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.1732, allocations: 0.6812 MB / 0.9152 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.1733, allocations: 0.7614 MB / 0.916 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1735, allocations: 39.42 kB / 0.916 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1735, allocations: 0 / 0.916 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.005582/0.1791, allocations: 5.211 MB / 0.9211 GB, free: 42.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)