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.635/1.635, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001174/0.001174, allocations: 184.2 kB / 326.5 MB, free: 2.668 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.612/1.612, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008152/0.0008153, allocations: 92.41 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003364, allocations: 9.062 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002229/0.174, allocations: 2.195 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1759, allocations: 1.287 MB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.1762, allocations: 11.88 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.1767, allocations: 303.2 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.1772, allocations: 295 kB / 0.9008 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.1779, allocations: 334.2 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000548/0.1785, allocations: 0.6114 MB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.1787, allocations: 84.95 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.179, allocations: 254.7 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1793, allocations: 282.8 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.1794, allocations: 16 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1795, allocations: 59.92 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1796, allocations: 167.3 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1798, allocations: 230.2 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.1803, allocations: 0.5493 MB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1803, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1803, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.1803, allocations: 0 / 0.9032 GB, free: 61.46 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.001083/0.1814, allocations: 0.8555 MB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1814, allocations: 16.02 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.1816, allocations: 72.03 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.1822, allocations: 0.582 MB / 0.9047 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1823, allocations: 16.36 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1823, allocations: 12.12 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1826, allocations: 210.4 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1826, allocations: 0 / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1827, allocations: 0 / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1827, allocations: 4 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.1829, allocations: 95.88 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.1838, allocations: 1.032 MB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.1843, allocations: 280.9 kB / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1845, allocations: 104.2 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1845, allocations: 11.94 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.1849, allocations: 221.7 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.1849, allocations: 4 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0008066/0.1857, allocations: 416.5 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1858, allocations: 162.2 kB / 0.9072 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/0.1867, allocations: 0.9888 MB / 0.9082 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1867, allocations: 33.7 kB / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1869, allocations: 280.8 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.187, allocations: 87.08 kB / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.187, allocations: 65.61 kB / 0.9086 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.1871, allocations: 390.8 kB / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1874, allocations: 209.2 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.1878, allocations: 307 kB / 0.9095 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.1883, allocations: 405.8 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1883, allocations: 4 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008958/0.1892, allocations: 0.6609 MB / 0.9105 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1893, allocations: 8 kB / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1893, allocations: 4.156 kB / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1893, allocations: 8 kB / 0.9105 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.1897, allocations: 115.8 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1897, allocations: 7.938 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.19, allocations: 47.67 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.19, allocations: 23.98 kB / 0.9107 GB, free: 53.39 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 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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.0002374/0.1903, allocations: 270.8 kB / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.1903, allocations: 87.05 kB / 0.9111 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.1904, allocations: 65.59 kB / 0.9111 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1905, allocations: 0 / 0.9111 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1905, allocations: 7.938 kB / 0.9111 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1905, allocations: 3.984 kB / 0.9111 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.1908, allocations: 449.3 kB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1908, allocations: 4 kB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.1909, allocations: 19.94 kB / 0.9116 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1909, allocations: 0 / 0.9116 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1909, allocations: 11.98 kB / 0.9116 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1909, allocations: 8 kB / 0.9116 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1909, allocations: 3.938 kB / 0.9116 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.1914, allocations: 391.3 kB / 0.912 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1916, allocations: 156.2 kB / 0.9121 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.1916, allocations: 12 kB / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1918, allocations: 15.98 kB / 0.9122 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.1919, allocations: 27.91 kB / 0.9122 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1919, allocations: 11.98 kB / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005199/0.1925, allocations: 0.5771 MB / 0.9128 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1925, allocations: 0 / 0.9128 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003641/0.1928, allocations: 108 kB / 0.9129 GB, free: 51.09 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.0009486/0.1938, allocations: 486.8 kB / 0.9133 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006274/0.1944, allocations: 400.3 kB / 0.9137 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1944, allocations: 0 / 0.9137 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1946, allocations: 107.8 kB / 0.9138 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000892/0.1955, allocations: 206.3 kB / 0.914 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1969, allocations: 1.26 MB / 0.9153 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1972, allocations: 0.917 MB / 0.9161 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1973, allocations: 59.41 kB / 0.9162 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.1973, allocations: 3.938 kB / 0.9162 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.009907/0.2072, allocations: 8.323 MB / 0.9243 GB, free: 39.46 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)