Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.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 1.715/1.715, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001169/0.001169, allocations: 191.5 kB / 371.8 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.73/1.73, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008403/0.0008405, allocations: 98.83 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004532, allocations: 16.16 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8383/1.097, allocations: 138.4 MB / 1.115 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.097, allocations: 70.62 kB / 1.115 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1137/1.211, allocations: 45.84 MB / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/1.211, allocations: 0 / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.046e-05/1.211, allocations: 12 kB / 1.159 GB, free: 17.44 MB / 0.698 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.001167/1.212, allocations: 0.7167 MB / 1.16 GB, free: 16.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.212, allocations: 8.031 kB / 1.16 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/1.212, allocations: 55.44 kB / 1.16 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/1.213, allocations: 0.5327 MB / 1.161 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/1.213, allocations: 22.98 kB / 1.161 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/1.213, allocations: 38.88 kB / 1.161 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/1.214, allocations: 320 kB / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.214, allocations: 0 / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/1.214, allocations: 3.688 kB / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.214, allocations: 4 kB / 1.161 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/1.214, allocations: 220.6 kB / 1.161 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/1.216, allocations: 1.188 MB / 1.162 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/1.217, allocations: 473.2 kB / 1.163 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/1.217, allocations: 3.938 kB / 1.163 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000446/1.217, allocations: 340.6 kB / 1.163 GB, free: 14.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 1.913e-06/1.217, allocations: 0 / 1.163 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0009863/1.218, allocations: 0.635 MB / 1.164 GB, free: 13.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/1.218, allocations: 114.1 kB / 1.164 GB, free: 13.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/1.219, allocations: 0.5395 MB / 1.165 GB, free: 13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/1.219, allocations: 51.75 kB / 1.165 GB, free: 12.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/1.219, allocations: 226.9 kB / 1.165 GB, free: 12.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/1.219, allocations: 49.08 kB / 1.165 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/1.219, allocations: 7.625 kB / 1.165 GB, free: 12.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.219, allocations: 358.2 kB / 1.165 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/1.22, allocations: 128.4 kB / 1.165 GB, free: 12.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/1.22, allocations: 0.717 MB / 1.166 GB, free: 11.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/1.221, allocations: 181.2 kB / 1.166 GB, free: 11.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.221, allocations: 0 / 1.166 GB, free: 11.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006246/1.221, allocations: 431.5 kB / 1.167 GB, free: 11.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.221, allocations: 8.031 kB / 1.167 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.221, allocations: 4 kB / 1.167 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.221, allocations: 8 kB / 1.167 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.222, allocations: 31.3 kB / 1.167 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/1.222, allocations: 11.94 kB / 1.167 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.223, allocations: 98.56 kB / 1.167 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/1.223, allocations: 19.8 kB / 1.167 GB, free: 10.89 MB / 0.698 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 () * Number of clocked 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.000319/1.223, allocations: 257.8 kB / 1.167 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/1.223, allocations: 43.48 kB / 1.167 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/1.223, allocations: 51.19 kB / 1.167 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.223, allocations: 4 kB / 1.167 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.223, allocations: 4 kB / 1.167 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.223, allocations: 3.984 kB / 1.167 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/1.224, allocations: 405.6 kB / 1.167 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.224, allocations: 0 / 1.167 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/1.224, allocations: 15.86 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.224, allocations: 4 kB / 1.168 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/1.224, allocations: 16.12 kB / 1.168 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.224, allocations: 4 kB / 1.168 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.224, allocations: 4 kB / 1.168 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/1.225, allocations: 0.5381 MB / 1.168 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.225, allocations: 139.8 kB / 1.168 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/1.225, allocations: 11.5 kB / 1.168 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.225, allocations: 15.42 kB / 1.168 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/1.225, allocations: 38.95 kB / 1.168 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/1.225, allocations: 12 kB / 1.168 GB, free: 9.508 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005044/1.226, allocations: 434.3 kB / 1.169 GB, free: 9.176 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.226, allocations: 0 / 1.169 GB, free: 9.176 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005687/1.226, allocations: 121.9 kB / 1.169 GB, free: 9.066 MB / 0.698 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 () * Number of clocked 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.00026/1.226, allocations: 146.8 kB / 1.169 GB, free: 8.918 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005409/1.227, allocations: 355.7 kB / 1.169 GB, free: 8.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.227, allocations: 0 / 1.169 GB, free: 8.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/1.227, allocations: 190.2 kB / 1.169 GB, free: 8.531 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/1.227, allocations: 36.58 kB / 1.169 GB, free: 8.516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/1.229, allocations: 0.8952 MB / 1.17 GB, free: 7.691 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/1.229, allocations: 0.8503 MB / 1.171 GB, free: 6.836 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002979/1.23, allocations: 94.92 kB / 1.171 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/1.23, allocations: 35.42 kB / 1.171 GB, free: 6.711 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/1.23, allocations: 0 / 1.171 GB, free: 6.711 MB / 0.698 GB Notification: Performance of Templates: time 0.01334/1.243, allocations: 7.336 MB / 1.178 GB, free: 15.46 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)