Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.629/2.629, allocations: 284.8 MB / 297.3 MB, free: 6.297 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.001434/0.001434, allocations: 184.8 kB / 365.7 MB, free: 2.59 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 1.944/1.944, allocations: 205.1 MB / 0.6241 GB, free: 8.176 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.001094/0.001093, allocations: 99.59 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.214e-05, allocations: 4 kB / 0.8575 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8354, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/1.08, allocations: 138.1 MB / 1.105 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.081, allocations: 71.95 kB / 1.105 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.2383/1.319, allocations: 45.9 MB / 1.15 GB, free: 420 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/1.319, allocations: 0 / 1.15 GB, free: 420 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.11e-05/1.319, allocations: 12 kB / 1.15 GB, free: 408 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001428/1.321, allocations: 0.6166 MB / 1.15 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.321, allocations: 11.97 kB / 1.15 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/1.321, allocations: 56.62 kB / 1.15 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.322, allocations: 0.525 MB / 1.151 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/1.323, allocations: 28.22 kB / 1.151 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.323, allocations: 36 kB / 1.151 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/1.324, allocations: 305.7 kB / 1.151 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.324, allocations: 3.938 kB / 1.151 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/1.324, allocations: 8.734 kB / 1.151 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.324, allocations: 4 kB / 1.151 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/1.324, allocations: 219.8 kB / 1.152 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/1.328, allocations: 1.176 MB / 1.153 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/1.329, allocations: 476 kB / 1.153 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/1.329, allocations: 189.6 kB / 1.153 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/1.329, allocations: 3.938 kB / 1.153 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/1.33, allocations: 346.1 kB / 1.154 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 3.486e-06/1.33, allocations: 0 / 1.154 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.00157/1.332, allocations: 493 kB / 1.154 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/1.332, allocations: 118.8 kB / 1.154 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.333, allocations: 0.5341 MB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/1.333, allocations: 53.69 kB / 1.155 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/1.334, allocations: 225.5 kB / 1.155 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/1.334, allocations: 51.41 kB / 1.155 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/1.334, allocations: 4 kB / 1.155 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002185/1.334, allocations: 354.8 kB / 1.155 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/1.334, allocations: 131.9 kB / 1.156 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.336, allocations: 0.7088 MB / 1.156 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/1.336, allocations: 175.5 kB / 1.156 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.336, allocations: 0 / 1.156 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001253/1.337, allocations: 428.6 kB / 1.157 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.337, allocations: 4 kB / 1.157 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.338, allocations: 7.938 kB / 1.157 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/1.338, allocations: 5.219 kB / 1.157 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/1.338, allocations: 35.92 kB / 1.157 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/1.338, allocations: 8.359 kB / 1.157 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.34, allocations: 100.1 kB / 1.157 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.34, allocations: 12 kB / 1.157 GB, free: 8.562 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003921/1.341, allocations: 164 kB / 1.157 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.341, allocations: 43.48 kB / 1.157 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/1.341, allocations: 47.5 kB / 1.157 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.341, allocations: 3.938 kB / 1.157 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.341, allocations: 4 kB / 1.157 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.341, allocations: 3.984 kB / 1.157 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/1.342, allocations: 409.2 kB / 1.158 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.342, allocations: 3.938 kB / 1.158 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/1.342, allocations: 15 kB / 1.158 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.342, allocations: 7.953 kB / 1.158 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/1.342, allocations: 7.984 kB / 1.158 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.342, allocations: 1.406 kB / 1.158 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.342, allocations: 4 kB / 1.158 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.343, allocations: 0.5404 MB / 1.158 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/1.344, allocations: 140.5 kB / 1.158 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/1.344, allocations: 4 kB / 1.158 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/1.344, allocations: 15.98 kB / 1.158 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.344, allocations: 35.95 kB / 1.158 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/1.344, allocations: 16.06 kB / 1.158 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008647/1.345, allocations: 425.1 kB / 1.159 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.91e-07/1.345, allocations: 0 / 1.159 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00101/1.346, allocations: 127.9 kB / 1.159 GB, free: 6.469 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003866/1.347, allocations: 155.4 kB / 1.159 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.348, allocations: 352.7 kB / 1.159 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.348, allocations: 3.938 kB / 1.159 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/1.348, allocations: 184 kB / 1.16 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/1.349, allocations: 40.09 kB / 1.16 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/1.35, allocations: 0.6682 MB / 1.16 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/1.351, allocations: 0.8431 MB / 1.161 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006529/1.352, allocations: 93.02 kB / 1.161 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/1.352, allocations: 39.42 kB / 1.161 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of SimCode: time 1.382e-06/1.352, allocations: 0 / 1.161 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of Templates: time 0.02269/1.375, allocations: 7.331 MB / 1.168 GB, free: 12.82 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)