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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 252 MB / 268 MB, free: 10.88 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.001243/0.001243, allocations: 184.3 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.891/1.891, 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.0007864/0.0007863, allocations: 86.36 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 14.81 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008639/0.1642, allocations: 0.6226 MB / 0.9021 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1668, allocations: 2.553 MB / 0.9046 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.863e-05/0.1669, allocations: 0 / 0.9046 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.1669, allocations: 7.875 kB / 0.9046 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1671, allocations: 43.69 kB / 0.9046 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.168, allocations: 414.9 kB / 0.905 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1683, allocations: 307 kB / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.1683, allocations: 13.67 kB / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1685, allocations: 135.6 kB / 0.9054 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1687, allocations: 147.4 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.1687, allocations: 12 kB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.1693, allocations: 303.8 kB / 0.9059 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.1693, allocations: 59.78 kB / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1694, allocations: 133.2 kB / 0.9061 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.17, allocations: 407.3 kB / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1701, allocations: 0 / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.1701, allocations: 0 / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1701, allocations: 0 / 0.9065 GB, free: 58.36 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.001425/0.1715, allocations: 0.6295 MB / 0.9071 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1716, allocations: 8.031 kB / 0.9071 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1717, allocations: 20.75 kB / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1718, allocations: 196.7 kB / 0.9073 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.172, allocations: 131.4 kB / 0.9074 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.1721, allocations: 20.38 kB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1724, allocations: 247.8 kB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1725, allocations: 0 / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.1725, allocations: 8 kB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1725, allocations: 4 kB / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.1727, allocations: 115.7 kB / 0.9078 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1732, allocations: 395 kB / 0.9082 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.1746, allocations: 0.4915 MB / 0.9086 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1748, allocations: 166.2 kB / 0.9088 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.1749, allocations: 11.92 kB / 0.9088 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.1753, allocations: 316.2 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.1753, allocations: 4 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0007411/0.176, allocations: 404.9 kB / 0.9095 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.1761, allocations: 354.1 kB / 0.9098 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1763, allocations: 170.1 kB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1763, allocations: 42.2 kB / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.1763, allocations: 97.14 kB / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.1764, allocations: 114.4 kB / 0.9102 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.1765, allocations: 12 kB / 0.9103 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1765, allocations: 326.8 kB / 0.9106 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1768, allocations: 121 kB / 0.9107 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.177, allocations: 168.9 kB / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.1775, allocations: 272.7 kB / 0.9111 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1775, allocations: 0 / 0.9111 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006342/0.1782, allocations: 381 kB / 0.9115 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1782, allocations: 14.44 kB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1782, allocations: 0 / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1782, allocations: 4 kB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.1786, allocations: 79.88 kB / 0.9116 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1786, allocations: 4 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.1789, allocations: 59.66 kB / 0.9116 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.179, allocations: 15.98 kB / 0.9116 GB, free: 52.48 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.0001129/0.1791, allocations: 157.7 kB / 0.9118 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1791, allocations: 24.5 kB / 0.9118 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.1797, allocations: 375.2 kB / 0.9122 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1797, allocations: 12 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1797, allocations: 0 / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1798, allocations: 4 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.18, allocations: 345.1 kB / 0.9125 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.18, allocations: 7.938 kB / 0.9125 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1803, allocations: 71.91 kB / 0.9126 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1803, allocations: 4 kB / 0.9126 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.1804, allocations: 19.98 kB / 0.9126 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1804, allocations: 7.938 kB / 0.9126 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1804, allocations: 4 kB / 0.9126 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.181, allocations: 0.49 MB / 0.9131 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1811, allocations: 156.5 kB / 0.9133 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.1812, allocations: 19.98 kB / 0.9133 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.1814, allocations: 35.98 kB / 0.9133 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1815, allocations: 55.81 kB / 0.9134 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.1816, allocations: 23.98 kB / 0.9134 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.1816, allocations: 131.8 kB / 0.9135 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1816, allocations: 0 / 0.9135 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004817/0.1821, allocations: 215.7 kB / 0.9137 GB, free: 50.21 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.0004601/0.1826, allocations: 332.9 kB / 0.914 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.1831, allocations: 325 kB / 0.9143 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1831, allocations: 0 / 0.9143 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1834, allocations: 192 kB / 0.9145 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1837, allocations: 39.5 kB / 0.9146 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.1845, allocations: 0.6691 MB / 0.9152 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.1847, allocations: 0.7579 MB / 0.916 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1848, allocations: 51.41 kB / 0.916 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.1848, allocations: 0 / 0.916 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.006247/0.1911, allocations: 5.182 MB / 0.9211 GB, free: 42.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)