Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.203 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.001379/0.001379, allocations: 184.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009089/0.0009088, allocations: 92.59 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005315, allocations: 16.22 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.000927/0.2396, allocations: 409.6 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2417, allocations: 1.317 MB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.2418, allocations: 0 / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.2424, allocations: 187.6 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2426, allocations: 99.8 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.2435, allocations: 203.9 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.2441, allocations: 371.7 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.2442, allocations: 7.984 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.2444, allocations: 191.7 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.2448, allocations: 195.6 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.2449, allocations: 12 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.2453, allocations: 63.94 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.2458, allocations: 243.5 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.2459, allocations: 57.58 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.2463, allocations: 351.5 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2464, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.016e-06/0.2464, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.2464, allocations: 4 kB / 0.9819 GB, free: 24.64 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.001094/0.2475, allocations: 0.5332 MB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2476, allocations: 8.031 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2477, allocations: 39.58 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.2484, allocations: 375 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.2484, allocations: 12 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2485, allocations: 23.98 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.249, allocations: 192.1 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.249, allocations: 0 / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.249, allocations: 0 / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.249, allocations: 4 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.2493, allocations: 111.9 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.2499, allocations: 383 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.2505, allocations: 323.6 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.2508, allocations: 122.6 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.2508, allocations: 0 / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005694/0.2514, allocations: 285.6 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.944e-06/0.2514, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001243/0.2527, allocations: 0.5009 MB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.2528, allocations: 110.8 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.2534, allocations: 392.5 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.2535, allocations: 45.69 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2537, allocations: 153.1 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.2538, allocations: 39.53 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.2538, allocations: 8 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.2539, allocations: 346.7 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.2541, allocations: 87.95 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.2547, allocations: 459.5 kB / 0.9863 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.255, allocations: 127.8 kB / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.255, allocations: 0 / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007333/0.2558, allocations: 328.9 kB / 0.9868 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.2558, allocations: 4 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2558, allocations: 7.938 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.2559, allocations: 8 kB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2561, allocations: 27.92 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2562, allocations: 4 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.2577, allocations: 88.69 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.2577, allocations: 12 kB / 0.9869 GB, free: 19.17 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.0003321/0.2581, allocations: 197.2 kB / 0.9871 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.2582, allocations: 27.62 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.2582, allocations: 41.89 kB / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2583, allocations: 4 kB / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2583, allocations: 0 / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2583, allocations: 0 / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.2586, allocations: 289.6 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2586, allocations: 0 / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.2587, allocations: 11.94 kB / 0.9874 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.2587, allocations: 0 / 0.9874 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2587, allocations: 7.984 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.2587, allocations: 4 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2587, allocations: 4 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.2595, allocations: 434.1 kB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2596, allocations: 112.8 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.2597, allocations: 7.922 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.2599, allocations: 11.94 kB / 0.988 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.26, allocations: 16.22 kB / 0.988 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.26, allocations: 15.98 kB / 0.988 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004072/0.2605, allocations: 287 kB / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2605, allocations: 0 / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006057/0.2611, allocations: 83.92 kB / 0.9884 GB, free: 17.55 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.0002844/0.2614, allocations: 135.1 kB / 0.9885 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.262, allocations: 262 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.262, allocations: 0 / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.2623, allocations: 147.9 kB / 0.9889 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2627, allocations: 30.83 kB / 0.9889 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2639, allocations: 0.5938 MB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2642, allocations: 0.7599 MB / 0.9903 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.2645, allocations: 49.94 kB / 0.9903 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2646, allocations: 27.44 kB / 0.9903 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2646, allocations: 3.938 kB / 0.9903 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.0128/0.2774, allocations: 4.605 MB / 0.9948 GB, free: 10.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)