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 2.243/2.243, allocations: 288.4 MB / 303.4 MB, free: 8.117 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.001759/0.001759, allocations: 182.8 kB / 372 MB, free: 10.27 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.873/1.873, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008556/0.0008556, allocations: 94.3 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004433, allocations: 16.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008065/0.2258, allocations: 397.9 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2274, allocations: 1.317 MB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.2275, allocations: 0 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.228, allocations: 191.6 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2281, allocations: 99.8 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.2288, allocations: 200.1 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.2291, allocations: 375.7 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.2292, allocations: 4 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.2295, allocations: 191.7 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.2298, allocations: 195.6 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2299, allocations: 12 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.2301, allocations: 67.94 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.2304, allocations: 239.5 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.2305, allocations: 61.58 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.2308, allocations: 351.5 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2308, allocations: 0 / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2308, allocations: 0 / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.2308, allocations: 3.938 kB / 0.9832 GB, free: 23.96 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.0007671/0.2316, allocations: 0.5332 MB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2316, allocations: 8.031 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2318, allocations: 35.62 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.2322, allocations: 379 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2323, allocations: 15.98 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.2323, allocations: 20 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2326, allocations: 184.1 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.2326, allocations: 4 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2326, allocations: 0 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2326, allocations: 4 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.2328, allocations: 111.9 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.2331, allocations: 387 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.2335, allocations: 319.6 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2336, allocations: 122.6 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2337, allocations: 0 / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.234, allocations: 277.6 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.234, allocations: 0 / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006561/0.2347, allocations: 0.5009 MB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2347, allocations: 114.8 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.2351, allocations: 396.5 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.2351, allocations: 41.69 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2353, allocations: 157.1 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2353, allocations: 35.48 kB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.2353, allocations: 8 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.2354, allocations: 346.8 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.2355, allocations: 87.95 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.2358, allocations: 459.5 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.236, allocations: 131.8 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.236, allocations: 0 / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003981/0.2364, allocations: 325 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2364, allocations: 4 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2364, allocations: 11.88 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.2365, allocations: 8 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.2366, allocations: 31.92 kB / 0.988 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2366, allocations: 7.984 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.2374, allocations: 77.84 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2374, allocations: 12 kB / 0.9881 GB, free: 18.5 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.0001827/0.2376, allocations: 201.2 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.2377, allocations: 27.62 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.2377, allocations: 33.89 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2377, allocations: 4 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2377, allocations: 4 kB / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2377, allocations: 0 / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.238, allocations: 293.4 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.238, allocations: 0 / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.238, allocations: 7.938 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.238, allocations: 128 / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.238, allocations: 19.92 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.238, allocations: 3.938 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.238, allocations: 4 kB / 0.9887 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.2385, allocations: 434.2 kB / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.2386, allocations: 108.8 kB / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.2386, allocations: 7.984 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.2387, allocations: 7.938 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.2387, allocations: 15.98 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.2388, allocations: 11.98 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002591/0.239, allocations: 295 kB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2391, allocations: 0 / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003643/0.2394, allocations: 83.92 kB / 0.9896 GB, free: 16.86 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.0002245/0.2397, allocations: 127.2 kB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.24, allocations: 261.6 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.24, allocations: 0 / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2402, allocations: 143.9 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2405, allocations: 32.59 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.2412, allocations: 0.5893 MB / 0.9907 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2415, allocations: 0.7681 MB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.2416, allocations: 53.92 kB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.2417, allocations: 23.44 kB / 0.9916 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2417, allocations: 0 / 0.9916 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.007878/0.2496, allocations: 4.62 MB / 0.9961 GB, free: 10.24 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)