Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.889/1.889, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 177.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009061/0.0009062, allocations: 94.86 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 12.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007633/0.2295, allocations: 406 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.231, allocations: 1.286 MB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.2311, allocations: 0 / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.2315, allocations: 187.6 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.156e-05/0.2316, allocations: 107.8 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.2322, allocations: 196.8 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.2324, allocations: 295.9 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.2325, allocations: 8 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2326, allocations: 187.6 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.2329, allocations: 187.6 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.2329, allocations: 12 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2331, allocations: 55.95 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.2333, allocations: 247.5 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.2334, allocations: 61.58 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.2337, allocations: 351.5 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2337, allocations: 0 / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2337, allocations: 0 / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2337, allocations: 3.938 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007089/0.2344, allocations: 0.5215 MB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2345, allocations: 8.031 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.2346, allocations: 35.62 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.235, allocations: 375.1 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2351, allocations: 19.92 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.2351, allocations: 16 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.2354, allocations: 184.1 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2354, allocations: 3.984 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2354, allocations: 0 / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2354, allocations: 7.984 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2356, allocations: 107.9 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.2359, allocations: 395 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.2362, allocations: 315.8 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.2363, allocations: 8.062 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.2366, allocations: 277.5 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2366, allocations: 0 / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006162/0.2373, allocations: 0.4893 MB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2373, allocations: 118.7 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.2377, allocations: 396.5 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2377, allocations: 37.7 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2378, allocations: 153.1 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2379, allocations: 43.53 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.2379, allocations: 4 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.238, allocations: 350.8 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.2381, allocations: 79.95 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.2384, allocations: 468.6 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2386, allocations: 131.8 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2386, allocations: 4 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003645/0.239, allocations: 320.9 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.239, allocations: 4 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.239, allocations: 4 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.239, allocations: 12.34 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2392, allocations: 39.86 kB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2392, allocations: 4 kB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.2399, allocations: 68.25 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.24, allocations: 23.92 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.2401, allocations: 199.9 kB / 0.9879 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.2402, allocations: 31.61 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.2402, allocations: 33.89 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2403, allocations: 0 / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2403, allocations: 4 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2403, allocations: 0 / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.2405, allocations: 285.4 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2405, allocations: 4 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.2405, allocations: 7.938 kB / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2405, allocations: 4.234 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2406, allocations: 7.984 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2406, allocations: 0 / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2406, allocations: 7.938 kB / 0.9883 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.241, allocations: 457.6 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.2411, allocations: 112.8 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.2411, allocations: 4 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.2412, allocations: 8.109 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.2413, allocations: 23.88 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2413, allocations: 16 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002258/0.2415, allocations: 291 kB / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2415, allocations: 0 / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003668/0.2419, allocations: 79.94 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002048/0.2421, allocations: 140.9 kB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.2425, allocations: 251.6 kB / 0.9896 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2425, allocations: 3.938 kB / 0.9896 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.2426, allocations: 149.5 kB / 0.9898 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2428, allocations: 20.66 kB / 0.9898 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.2436, allocations: 0.5892 MB / 0.9904 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2438, allocations: 0.7794 MB / 0.9911 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.244, allocations: 41.95 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.244, allocations: 27.42 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.244, allocations: 4 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.008014/0.2521, allocations: 4.613 MB / 0.9957 GB, free: 10.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)