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.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 191.1 kB / 16.14 MB, free: 6.695 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 61.66 kB / 0.9114 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4602, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002353/0.4626, allocations: 0.9006 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.4647, allocations: 1.466 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.4647, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.4653, allocations: 187.5 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.4655, allocations: 111.7 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.4664, allocations: 333.7 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.4672, allocations: 0.7642 MB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.4673, allocations: 92.23 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.4677, allocations: 315.2 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.468, allocations: 251.3 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.4681, allocations: 16 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.4684, allocations: 83.95 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.4688, allocations: 303.3 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.4691, allocations: 246.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.4698, allocations: 0.8728 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4698, allocations: 0 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4699, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4699, allocations: 0 / 1.073 GB, free: 5.023 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.001439/0.4713, allocations: 0.888 MB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4714, allocations: 8.031 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.4715, allocations: 56.38 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.4723, allocations: 0.5409 MB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.4723, allocations: 28.55 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4724, allocations: 32.38 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.4729, allocations: 310.2 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4729, allocations: 192 / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.4729, allocations: 11.92 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4729, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.4733, allocations: 219.8 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.4751, allocations: 1.184 MB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.4757, allocations: 475.7 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.4759, allocations: 178.6 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.4759, allocations: 0 / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.4764, allocations: 331.9 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.4764, allocations: 0 / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.0009901/0.4774, allocations: 0.6226 MB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.4775, allocations: 122.8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.4781, allocations: 0.5993 MB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.4782, allocations: 49.7 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.4784, allocations: 230.2 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.4785, allocations: 55.34 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.4788, allocations: 181.5 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4789, allocations: 358.8 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.4791, allocations: 123.9 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.4799, allocations: 0.7137 MB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.4802, allocations: 296.6 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4803, allocations: 0 / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006422/0.4809, allocations: 420.7 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4809, allocations: 9.938 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4809, allocations: 8.234 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.481, allocations: 7.938 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.4811, allocations: 31.92 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4812, allocations: 11.97 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.4825, allocations: 115.9 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.4825, allocations: 27.92 kB / 1.081 GB, free: 12.34 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.0003012/0.4828, allocations: 259.4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.4829, allocations: 43.53 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-05/0.483, allocations: 51.31 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.483, allocations: 0 / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.483, allocations: 8 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.483, allocations: 3.984 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.4834, allocations: 409.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4834, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.4835, allocations: 7.984 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.4835, allocations: 4 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.4835, allocations: 11.94 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4835, allocations: 3.938 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4835, allocations: 0 / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.4842, allocations: 0.5125 MB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4843, allocations: 124.7 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.4844, allocations: 15.92 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4845, allocations: 15.98 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.4846, allocations: 27.91 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.4847, allocations: 23.92 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00047/0.4851, allocations: 435.1 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4852, allocations: 4 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004699/0.4856, allocations: 107.8 kB / 1.083 GB, free: 10.2 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.0002598/0.4859, allocations: 141.5 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.4865, allocations: 352.2 kB / 1.084 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4865, allocations: 4.125 kB / 1.084 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.4867, allocations: 191.8 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.4871, allocations: 40.33 kB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4885, allocations: 0.9185 MB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.4889, allocations: 0.8319 MB / 1.086 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.4892, allocations: 90.94 kB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.4893, allocations: 39.42 kB / 1.086 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4893, allocations: 0 / 1.086 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of Templates: time 0.01402/0.5033, allocations: 7.659 MB / 1.093 GB, free: 15.95 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)