Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.63/1.63, 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.0009788/0.0009789, allocations: 176.9 kB / 327.6 MB, free: 2.098 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.497/1.497, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0007735/0.0007739, allocations: 98.27 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 9.281 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.00216/0.1662, allocations: 2.166 MB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1678, allocations: 1.26 MB / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1679, allocations: 11.88 kB / 0.9048 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.1684, allocations: 303.2 kB / 0.9051 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.1688, allocations: 299 kB / 0.9054 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.1694, allocations: 331.9 kB / 0.9057 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.1698, allocations: 0.6153 MB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.17, allocations: 73.03 kB / 0.9064 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.1702, allocations: 266.7 kB / 0.9067 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1704, allocations: 286.7 kB / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.1705, allocations: 8 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1706, allocations: 51.98 kB / 0.907 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.1708, allocations: 167.3 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1709, allocations: 267.9 kB / 0.9074 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1713, allocations: 0.538 MB / 0.9079 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1713, allocations: 4 kB / 0.9079 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1713, allocations: 0 / 0.9079 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1713, allocations: 0 / 0.9079 GB, free: 56.81 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009233/0.1722, allocations: 0.8593 MB / 0.9088 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1723, allocations: 12.03 kB / 0.9088 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.1724, allocations: 68.09 kB / 0.9088 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.1729, allocations: 0.5858 MB / 0.9094 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.173, allocations: 12.38 kB / 0.9094 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.173, allocations: 16.12 kB / 0.9094 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1733, allocations: 206.4 kB / 0.9096 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1733, allocations: 3.938 kB / 0.9096 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1734, allocations: 7.938 kB / 0.9097 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1734, allocations: 4 kB / 0.9097 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1736, allocations: 99.86 kB / 0.9098 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.1744, allocations: 1.028 MB / 0.9108 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.1749, allocations: 273 kB / 0.911 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.1751, allocations: 108.2 kB / 0.9111 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1751, allocations: 11.97 kB / 0.9111 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.1755, allocations: 221.6 kB / 0.9113 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.452e-06/0.1755, allocations: 0 / 0.9113 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0007522/0.1763, allocations: 424.5 kB / 0.9117 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1763, allocations: 162.2 kB / 0.9119 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/0.1772, allocations: 0.9965 MB / 0.9129 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1772, allocations: 33.7 kB / 0.9129 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1774, allocations: 272.9 kB / 0.9132 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.1774, allocations: 79.09 kB / 0.9132 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.1774, allocations: 8 kB / 0.9132 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.1775, allocations: 394.8 kB / 0.9136 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1778, allocations: 209.2 kB / 0.9138 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.1782, allocations: 303 kB / 0.9141 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.1787, allocations: 412.5 kB / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1787, allocations: 4 kB / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008505/0.1796, allocations: 0.6585 MB / 0.9152 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1796, allocations: 10.66 kB / 0.9152 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1796, allocations: 0 / 0.9152 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1796, allocations: 8 kB / 0.9152 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.18, allocations: 117.2 kB / 0.9153 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.18, allocations: 11.94 kB / 0.9153 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1803, allocations: 39.73 kB / 0.9153 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.1803, allocations: 20 kB / 0.9154 GB, free: 48.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002166/0.1805, allocations: 281.6 kB / 0.9156 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.1806, allocations: 79.05 kB / 0.9157 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.1807, allocations: 69.58 kB / 0.9158 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1807, allocations: 4 kB / 0.9158 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1807, allocations: 11.94 kB / 0.9158 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1808, allocations: 0 / 0.9158 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.1811, allocations: 453.2 kB / 0.9162 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1811, allocations: 3.984 kB / 0.9162 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.1812, allocations: 19.94 kB / 0.9162 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1812, allocations: 4 kB / 0.9162 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1812, allocations: 11.98 kB / 0.9162 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1812, allocations: 4 kB / 0.9163 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1812, allocations: 7.875 kB / 0.9163 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.1817, allocations: 391.3 kB / 0.9166 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1819, allocations: 164.2 kB / 0.9168 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.1819, allocations: 12 kB / 0.9168 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1821, allocations: 15.98 kB / 0.9168 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.1822, allocations: 27.91 kB / 0.9168 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1822, allocations: 19.98 kB / 0.9169 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005121/0.1827, allocations: 0.5693 MB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1827, allocations: 0 / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003404/0.1831, allocations: 103.9 kB / 0.9175 GB, free: 46.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009493/0.184, allocations: 498.3 kB / 0.918 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.1846, allocations: 395.6 kB / 0.9184 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1847, allocations: 0 / 0.9184 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.1849, allocations: 107.8 kB / 0.9185 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/0.1857, allocations: 195.5 kB / 0.9187 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1869, allocations: 1.269 MB / 0.9199 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1872, allocations: 0.9209 MB / 0.9208 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1873, allocations: 55.42 kB / 0.9208 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.1873, allocations: 0 / 0.9208 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.008962/0.1963, allocations: 8.322 MB / 0.929 GB, free: 34.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)