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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, 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.0009792/0.0009792, allocations: 176.4 kB / 327.6 MB, free: 2.094 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.466/1.466, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007111/0.0007109, allocations: 83.53 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 13.42 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0008619/0.1688, allocations: 0.6304 MB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1711, allocations: 2.553 MB / 0.9046 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.1712, allocations: 0 / 0.9046 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.1712, allocations: 7.875 kB / 0.9046 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1714, allocations: 35.69 kB / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1721, allocations: 414.9 kB / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1723, allocations: 307.1 kB / 0.9053 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.1723, allocations: 17.67 kB / 0.9053 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1725, allocations: 131.6 kB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1727, allocations: 147.4 kB / 0.9056 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.1727, allocations: 16 kB / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.1731, allocations: 299.8 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.1732, allocations: 63.78 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.1733, allocations: 129.2 kB / 0.9061 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1736, allocations: 411.3 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1736, allocations: 0 / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1737, allocations: 0 / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1737, allocations: 0 / 0.9065 GB, free: 58.33 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.001067/0.1747, allocations: 0.6295 MB / 0.9071 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1748, allocations: 8.031 kB / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.1748, allocations: 24.75 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.1749, allocations: 196.7 kB / 0.9073 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.175, allocations: 131.4 kB / 0.9074 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1751, allocations: 20.38 kB / 0.9074 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1754, allocations: 239.8 kB / 0.9077 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1754, allocations: 4 kB / 0.9077 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1754, allocations: 3.984 kB / 0.9077 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1754, allocations: 4 kB / 0.9077 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1756, allocations: 119.7 kB / 0.9078 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.1759, allocations: 399 kB / 0.9082 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.1772, allocations: 0.4954 MB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1773, allocations: 162.2 kB / 0.9088 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1774, allocations: 15.92 kB / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.1777, allocations: 308.3 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.1777, allocations: 0 / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006467/0.1784, allocations: 409.6 kB / 0.9095 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1784, allocations: 354.1 kB / 0.9098 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.1785, allocations: 170.6 kB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1786, allocations: 41.7 kB / 0.91 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.1786, allocations: 93.14 kB / 0.9101 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.1787, allocations: 122.4 kB / 0.9103 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.1787, allocations: 4 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.1788, allocations: 334.8 kB / 0.9106 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.179, allocations: 117 kB / 0.9107 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.1793, allocations: 172.9 kB / 0.9109 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.1797, allocations: 265.4 kB / 0.9111 GB, free: 53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1797, allocations: 0 / 0.9111 GB, free: 53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000599/0.1803, allocations: 387.7 kB / 0.9115 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1803, allocations: 4 kB / 0.9115 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1804, allocations: 4 kB / 0.9115 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1804, allocations: 5 kB / 0.9115 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.1807, allocations: 75.88 kB / 0.9116 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1808, allocations: 4 kB / 0.9116 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.181, allocations: 59.59 kB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1811, allocations: 19.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.0001105/0.1812, allocations: 161.8 kB / 0.9118 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1812, allocations: 23.75 kB / 0.9118 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.1818, allocations: 366 kB / 0.9122 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1818, allocations: 8 kB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1818, allocations: 7.984 kB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1818, allocations: 4 kB / 0.9122 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.1821, allocations: 349.1 kB / 0.9125 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1821, allocations: 7.938 kB / 0.9125 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.1824, allocations: 67.91 kB / 0.9126 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1824, allocations: 8 kB / 0.9126 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1824, allocations: 15.98 kB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1824, allocations: 7.938 kB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1824, allocations: 8 kB / 0.9126 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.183, allocations: 0.49 MB / 0.9131 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1831, allocations: 156.7 kB / 0.9133 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.1831, allocations: 19.98 kB / 0.9133 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.1834, allocations: 39.98 kB / 0.9133 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.1835, allocations: 55.81 kB / 0.9134 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.1836, allocations: 27.92 kB / 0.9134 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.1836, allocations: 127.8 kB / 0.9135 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1836, allocations: 0 / 0.9135 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004539/0.1841, allocations: 215.7 kB / 0.9137 GB, free: 50.17 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.000406/0.1845, allocations: 333.1 kB / 0.914 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.185, allocations: 328.6 kB / 0.9144 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.185, allocations: 0 / 0.9144 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.1853, allocations: 183.7 kB / 0.9145 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1856, allocations: 34.02 kB / 0.9146 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.1863, allocations: 0.673 MB / 0.9152 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1865, allocations: 0.7575 MB / 0.916 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.1866, allocations: 51.41 kB / 0.916 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1866, allocations: 0 / 0.916 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.005734/0.1923, allocations: 5.203 MB / 0.9211 GB, free: 42.57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)