Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.6/2.6, allocations: 287.5 MB / 303.2 MB, free: 8.246 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.001423/0.001422, allocations: 178.2 kB / 371.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6305 GB, free: 10.5 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.0009744/0.0009738, allocations: 93.84 kB / 0.7438 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004855, allocations: 13.28 kB / 0.8668 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 115.3 MB / 0.9793 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9805/1.195, allocations: 138.2 MB / 1.114 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.196, allocations: 75.59 kB / 1.114 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2458/1.441, allocations: 46.19 MB / 1.159 GB, free: 18.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.564e-06/1.441, allocations: 3.938 kB / 1.159 GB, free: 18.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.708e-05/1.442, allocations: 12 kB / 1.16 GB, free: 18.01 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.001717/1.443, allocations: 0.7118 MB / 1.16 GB, free: 17.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.443, allocations: 12.03 kB / 1.16 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/1.444, allocations: 52.38 kB / 1.16 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.445, allocations: 0.5492 MB / 1.161 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/1.445, allocations: 23.05 kB / 1.161 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/1.445, allocations: 33.94 kB / 1.161 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/1.446, allocations: 311.5 kB / 1.161 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.446, allocations: 11.86 kB / 1.161 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/1.446, allocations: 2.625 kB / 1.161 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.446, allocations: 4 kB / 1.161 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/1.446, allocations: 219.4 kB / 1.161 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/1.45, allocations: 1.188 MB / 1.163 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/1.451, allocations: 471.7 kB / 1.163 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/1.451, allocations: 180.3 kB / 1.163 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/1.451, allocations: 4 kB / 1.163 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/1.452, allocations: 341.3 kB / 1.163 GB, free: 14.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.996e-06/1.452, allocations: 0 / 1.163 GB, free: 14.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001976/1.454, allocations: 0.6474 MB / 1.164 GB, free: 13.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.454, allocations: 118.2 kB / 1.164 GB, free: 13.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.455, allocations: 0.5838 MB / 1.165 GB, free: 13.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003644/1.456, allocations: 48 kB / 1.165 GB, free: 13.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/1.456, allocations: 220.5 kB / 1.165 GB, free: 13.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/1.456, allocations: 60.19 kB / 1.165 GB, free: 13.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/1.456, allocations: 3.438 kB / 1.165 GB, free: 13.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.456, allocations: 359 kB / 1.165 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/1.457, allocations: 129.6 kB / 1.166 GB, free: 12.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.458, allocations: 0.7241 MB / 1.166 GB, free: 11.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/1.459, allocations: 306.7 kB / 1.167 GB, free: 11.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.459, allocations: 0 / 1.167 GB, free: 11.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001323/1.46, allocations: 419.3 kB / 1.167 GB, free: 11.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.46, allocations: 11.98 kB / 1.167 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.46, allocations: 8.312 kB / 1.167 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.461, allocations: 8 kB / 1.167 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/1.461, allocations: 35.91 kB / 1.167 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.461, allocations: 7.938 kB / 1.167 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/1.463, allocations: 99.19 kB / 1.167 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/1.463, allocations: 19.98 kB / 1.167 GB, free: 11.12 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.0006886/1.464, allocations: 259 kB / 1.167 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/1.464, allocations: 43.44 kB / 1.167 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/1.464, allocations: 51.56 kB / 1.167 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.464, allocations: 4 kB / 1.168 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.464, allocations: 4 kB / 1.168 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.464, allocations: 7.984 kB / 1.168 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/1.465, allocations: 404.8 kB / 1.168 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.465, allocations: 0 / 1.168 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/1.465, allocations: 7.938 kB / 1.168 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.465, allocations: 0 / 1.168 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/1.465, allocations: 19.73 kB / 1.168 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.465, allocations: 0 / 1.168 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.465, allocations: 3.938 kB / 1.168 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.466, allocations: 0.5235 MB / 1.168 GB, free: 9.992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.467, allocations: 136 kB / 1.169 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/1.467, allocations: 7.312 kB / 1.169 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/1.467, allocations: 19.11 kB / 1.169 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.467, allocations: 31.83 kB / 1.169 GB, free: 9.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/1.467, allocations: 16 kB / 1.169 GB, free: 9.789 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008265/1.468, allocations: 432.2 kB / 1.169 GB, free: 9.457 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.468, allocations: 4 kB / 1.169 GB, free: 9.453 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001029/1.469, allocations: 118.5 kB / 1.169 GB, free: 9.348 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.0004094/1.47, allocations: 148.7 kB / 1.169 GB, free: 9.195 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001084/1.471, allocations: 353.8 kB / 1.17 GB, free: 8.938 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.471, allocations: 8 kB / 1.17 GB, free: 8.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/1.471, allocations: 188.6 kB / 1.17 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/1.472, allocations: 32.22 kB / 1.17 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/1.474, allocations: 0.8935 MB / 1.171 GB, free: 7.965 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/1.474, allocations: 0.8373 MB / 1.172 GB, free: 7.125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006408/1.475, allocations: 94.92 kB / 1.172 GB, free: 7.031 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/1.475, allocations: 35.42 kB / 1.172 GB, free: 6.996 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.475, allocations: 0 / 1.172 GB, free: 6.996 MB / 0.698 GB Notification: Performance of Templates: time 0.02235/1.498, allocations: 7.369 MB / 1.179 GB, free: 15.69 MB / 0.7136 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)