Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 192 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.06/3.06, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 62.78 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4602, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003124/0.4634, allocations: 0.8551 MB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.4664, allocations: 1.458 MB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.4666, allocations: 4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.4673, allocations: 195.4 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.4675, allocations: 111.7 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.4689, allocations: 354.2 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009341/0.4699, allocations: 0.8619 MB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.4701, allocations: 100.2 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.4705, allocations: 347.4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.4709, allocations: 259.3 kB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.4711, allocations: 48 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.4714, allocations: 107.9 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.4718, allocations: 343.3 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.4722, allocations: 274.8 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.4731, allocations: 0.9042 MB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4731, allocations: 4 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4731, allocations: 0 / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.4732, allocations: 0 / 1.074 GB, free: 4.254 MB / 0.8262 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.001605/0.4748, allocations: 0.888 MB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4748, allocations: 8.031 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.475, allocations: 52.38 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.4758, allocations: 0.5409 MB / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.4758, allocations: 24.61 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.4759, allocations: 44.36 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.4764, allocations: 303.4 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4764, allocations: 192 / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.4765, allocations: 11.94 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.4765, allocations: 4 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.4768, allocations: 223.7 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.4787, allocations: 1.187 MB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.4793, allocations: 471.8 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4796, allocations: 174.6 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.4796, allocations: 0 / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.4801, allocations: 340.1 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.4801, allocations: 3.938 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.001072/0.4812, allocations: 0.6219 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.4813, allocations: 126.7 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.4819, allocations: 0.5955 MB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/0.482, allocations: 41.7 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.4823, allocations: 230.2 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.4823, allocations: 47.41 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.4826, allocations: 189.5 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4827, allocations: 362.8 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.4829, allocations: 123.9 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/0.4837, allocations: 0.7137 MB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.4841, allocations: 304.6 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4841, allocations: 0 / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006324/0.4847, allocations: 413 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4847, allocations: 9.625 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4847, allocations: 4 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4848, allocations: 15.92 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4849, allocations: 31.92 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.485, allocations: 8.188 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.4862, allocations: 131.9 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4863, allocations: 16 kB / 1.082 GB, free: 11.56 MB / 0.8419 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.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003511/0.4866, allocations: 258.2 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.4867, allocations: 39.53 kB / 1.083 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.4868, allocations: 56.05 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4868, allocations: 8 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4869, allocations: 0 / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4869, allocations: 0 / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.4873, allocations: 409.2 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4873, allocations: 0 / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.4873, allocations: 7.938 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4873, allocations: 0 / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4874, allocations: 19.86 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4874, allocations: 4 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4874, allocations: 0 / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.4881, allocations: 0.5252 MB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4882, allocations: 124.7 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.4882, allocations: 3.938 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4885, allocations: 23.98 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.4886, allocations: 27.97 kB / 1.084 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.4886, allocations: 15.98 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005197/0.4891, allocations: 435.1 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4891, allocations: 0 / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000509/0.4896, allocations: 115.8 kB / 1.084 GB, free: 9.414 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.4899, allocations: 143.2 kB / 1.084 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.4906, allocations: 372.1 kB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4906, allocations: 0 / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.4908, allocations: 191.9 kB / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4912, allocations: 37.89 kB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4926, allocations: 0.835 MB / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.4932, allocations: 0.8311 MB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.4935, allocations: 94.92 kB / 1.087 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.4937, allocations: 31.44 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/0.4937, allocations: 0 / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of Templates: time 0.01603/0.5097, allocations: 7.938 MB / 1.094 GB, free: 14.96 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)