Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.531/1.531, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001069/0.001069, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.509/1.509, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 89.98 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.278e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7695, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.971, allocations: 138.6 MB / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.9713, allocations: 76.52 kB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/1.098, allocations: 45.68 MB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.623e-06/1.098, allocations: 0 / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.269e-05/1.098, allocations: 12 kB / 1.153 GB, free: 13.92 MB / 0.7605 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.0009948/1.099, allocations: 0.6241 MB / 1.154 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.099, allocations: 12.03 kB / 1.154 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/1.099, allocations: 55.44 kB / 1.154 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/1.1, allocations: 0.5271 MB / 1.155 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/1.1, allocations: 7.984 kB / 1.155 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/1.1, allocations: 24 kB / 1.155 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003182/1.1, allocations: 216.3 kB / 1.155 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/1.101, allocations: 291 kB / 1.155 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.101, allocations: 0 / 1.155 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.101, allocations: 3.938 kB / 1.155 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.101, allocations: 8 kB / 1.155 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/1.103, allocations: 1.137 MB / 1.156 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/1.103, allocations: 451.9 kB / 1.157 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/1.103, allocations: 182.7 kB / 1.157 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/1.103, allocations: 4 kB / 1.157 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/1.104, allocations: 327.4 kB / 1.157 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/1.104, allocations: 0 / 1.157 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0008092/1.105, allocations: 493 kB / 1.158 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/1.105, allocations: 118.7 kB / 1.158 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/1.105, allocations: 0.5205 MB / 1.158 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/1.105, allocations: 33.7 kB / 1.158 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.106, allocations: 220.7 kB / 1.158 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/1.106, allocations: 47.41 kB / 1.158 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/1.106, allocations: 0 / 1.158 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.106, allocations: 362.8 kB / 1.159 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/1.106, allocations: 124 kB / 1.159 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/1.107, allocations: 0.6931 MB / 1.16 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.107, allocations: 205 kB / 1.16 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.107, allocations: 0 / 1.16 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007953/1.108, allocations: 424.1 kB / 1.16 GB, free: 6.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.108, allocations: 15.98 kB / 1.16 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.108, allocations: 4 kB / 1.16 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.108, allocations: 4 kB / 1.16 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/1.108, allocations: 41.27 kB / 1.16 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.108, allocations: 7.938 kB / 1.16 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.109, allocations: 84.19 kB / 1.16 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/1.109, allocations: 15.98 kB / 1.16 GB, free: 6.262 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.0001683/1.11, allocations: 138.5 kB / 1.161 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/1.11, allocations: 39.52 kB / 1.161 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.249e-05/1.11, allocations: 59.45 kB / 1.161 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/1.11, allocations: 4 kB / 1.161 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.11, allocations: 0 / 1.161 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.11, allocations: 0 / 1.161 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/1.11, allocations: 385.8 kB / 1.161 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.11, allocations: 0 / 1.161 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/1.11, allocations: 7.938 kB / 1.161 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.11, allocations: 0 / 1.161 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.11, allocations: 7.984 kB / 1.161 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.11, allocations: 5.969 kB / 1.161 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.11, allocations: 3.953 kB / 1.161 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/1.111, allocations: 0.5332 MB / 1.162 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.111, allocations: 136.5 kB / 1.162 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/1.111, allocations: 7.953 kB / 1.162 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.111, allocations: 15.98 kB / 1.162 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/1.111, allocations: 31.95 kB / 1.162 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/1.111, allocations: 20 kB / 1.162 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004456/1.112, allocations: 406.9 kB / 1.162 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.9e-07/1.112, allocations: 4 kB / 1.162 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004594/1.112, allocations: 103.9 kB / 1.162 GB, free: 4.289 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.0002563/1.113, allocations: 161.3 kB / 1.162 GB, free: 4.117 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004795/1.113, allocations: 329.5 kB / 1.163 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.113, allocations: 0 / 1.163 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/1.113, allocations: 185.4 kB / 1.163 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.114, allocations: 30.08 kB / 1.163 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009561/1.114, allocations: 0.6571 MB / 1.164 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.115, allocations: 0.8389 MB / 1.164 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002652/1.115, allocations: 95.23 kB / 1.164 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/1.115, allocations: 35.44 kB / 1.164 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/1.115, allocations: 0 / 1.164 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of Templates: time 0.01199/1.127, allocations: 6.553 MB / 1.171 GB, free: 11.47 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)