Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.587/2.587, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002418/0.002418, allocations: 173 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.3 MB / 0.6192 GB, free: 12.09 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.001079, allocations: 90.67 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.965e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.8677, allocations: 115.2 MB / 0.9635 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/1.146, allocations: 137.2 MB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.146, allocations: 76.08 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.114/1.26, allocations: 21.1 MB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/1.26, allocations: 0 / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.044e-05/1.26, allocations: 4 kB / 1.118 GB, free: 14.21 MB / 0.7292 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.001096/1.262, allocations: 493.9 kB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.262, allocations: 8.031 kB / 1.119 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/1.262, allocations: 32.92 kB / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/1.263, allocations: 380.2 kB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.263, allocations: 2 kB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.263, allocations: 16 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004083/1.264, allocations: 111.9 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/1.264, allocations: 184.1 kB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.264, allocations: 0 / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/1.264, allocations: 0 / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.264, allocations: 4 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/1.265, allocations: 363.5 kB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/1.266, allocations: 303.9 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/1.267, allocations: 138.5 kB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/1.267, allocations: 0 / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008193/1.268, allocations: 278.2 kB / 1.12 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.946e-06/1.268, allocations: 1.688 kB / 1.12 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.001626/1.269, allocations: 404.1 kB / 1.121 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.269, allocations: 114.8 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/1.27, allocations: 341.1 kB / 1.121 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/1.27, allocations: 33.69 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/1.271, allocations: 149.7 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/1.271, allocations: 43.55 kB / 1.121 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/1.271, allocations: 0 / 1.121 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002307/1.271, allocations: 350.8 kB / 1.122 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/1.271, allocations: 80.72 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009813/1.272, allocations: 458.8 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.273, allocations: 152.9 kB / 1.122 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/1.273, allocations: 4 kB / 1.122 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001836/1.275, allocations: 334.7 kB / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.275, allocations: 8 kB / 1.123 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.275, allocations: 4 kB / 1.123 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.776e-05/1.275, allocations: 4 kB / 1.123 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/1.276, allocations: 35.84 kB / 1.123 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.276, allocations: 9.406 kB / 1.123 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/1.278, allocations: 44.39 kB / 1.123 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.425e-05/1.278, allocations: 19.98 kB / 1.123 GB, free: 9.012 MB / 0.7292 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 () * 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.000326/1.279, allocations: 131.1 kB / 1.123 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/1.279, allocations: 27.72 kB / 1.123 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/1.279, allocations: 30.02 kB / 1.123 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.279, allocations: 8 kB / 1.123 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.279, allocations: 0 / 1.123 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.279, allocations: 7.984 kB / 1.123 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/1.28, allocations: 256.6 kB / 1.123 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.28, allocations: 4 kB / 1.123 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/1.28, allocations: 11.88 kB / 1.123 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.28, allocations: 4 kB / 1.123 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/1.28, allocations: 4 kB / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.28, allocations: 0 / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.28, allocations: 6.812 kB / 1.123 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/1.281, allocations: 451.6 kB / 1.124 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/1.281, allocations: 120.7 kB / 1.124 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/1.282, allocations: 7.984 kB / 1.124 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.282, allocations: 0 / 1.124 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/1.282, allocations: 23.97 kB / 1.124 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/1.282, allocations: 23.92 kB / 1.124 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006322/1.283, allocations: 268.6 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.01e-07/1.283, allocations: 0 / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001013/1.284, allocations: 83.92 kB / 1.124 GB, free: 7.477 MB / 0.7292 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 () * 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.0003954/1.284, allocations: 131.2 kB / 1.124 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008699/1.285, allocations: 244.1 kB / 1.125 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.285, allocations: 0 / 1.125 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/1.285, allocations: 139.9 kB / 1.125 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/1.286, allocations: 26.38 kB / 1.125 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/1.288, allocations: 448.5 kB / 1.125 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/1.288, allocations: 0.7763 MB / 1.126 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004598/1.289, allocations: 51.86 kB / 1.126 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.289, allocations: 28.75 kB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of SimCode: time 1.953e-06/1.289, allocations: 4 kB / 1.126 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.01837/1.307, allocations: 4.183 MB / 1.13 GB, free: 1.508 MB / 0.7292 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)