Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.0009171, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006249/0.006249, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004872, allocations: 14.28 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4347, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001008/0.4357, allocations: 419.7 kB / 1.075 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4375, allocations: 1.342 MB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.4376, allocations: 0 / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.438, allocations: 179.6 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.4382, allocations: 111.7 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.4388, allocations: 198.5 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.4392, allocations: 435.8 kB / 1.077 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.4393, allocations: 15.92 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.4395, allocations: 187.6 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.4399, allocations: 195.6 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.4399, allocations: 12 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.4401, allocations: 71.94 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.4405, allocations: 243.5 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.4407, allocations: 165 kB / 1.078 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.4412, allocations: 462.9 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4412, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4412, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4412, allocations: 0 / 1.078 GB, free: 3.523 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008342/0.442, allocations: 0.5255 MB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4421, allocations: 12.03 kB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4422, allocations: 28.66 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.4427, allocations: 392 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.4427, allocations: 16.36 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.4428, allocations: 20.38 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.4431, allocations: 184.7 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4431, allocations: 192 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4431, allocations: 11.88 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.4432, allocations: 0 / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4433, allocations: 111.9 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.4438, allocations: 387.2 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.4442, allocations: 315.6 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.4444, allocations: 130.5 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.4444, allocations: 3.984 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.4448, allocations: 275.3 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.4449, allocations: 0 / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007822/0.4456, allocations: 0.4976 MB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.4457, allocations: 114.8 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.4462, allocations: 400.4 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.4462, allocations: 37.7 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.4464, allocations: 152.8 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.4465, allocations: 47.47 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.4465, allocations: 29.7 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4467, allocations: 346.8 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4468, allocations: 83.95 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.4475, allocations: 468 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.4478, allocations: 257.5 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4478, allocations: 3.938 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004721/0.4483, allocations: 333.2 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4483, allocations: 8 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4483, allocations: 4 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4484, allocations: 7.984 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4485, allocations: 27.92 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4486, allocations: 8.016 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/0.4493, allocations: 74.72 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4493, allocations: 20.05 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002174/0.4496, allocations: 192.8 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.4496, allocations: 35.55 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.4497, allocations: 37.89 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4497, allocations: 4 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4497, allocations: 0 / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4497, allocations: 7.984 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.45, allocations: 281.6 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.45, allocations: 3.984 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.4501, allocations: 15.88 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4501, allocations: 3.938 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4501, allocations: 4 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.4501, allocations: 7.938 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4501, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.4507, allocations: 431.6 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4508, allocations: 120.7 kB / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4509, allocations: 4 kB / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.451, allocations: 4 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.451, allocations: 23.95 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.4511, allocations: 15.94 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003287/0.4514, allocations: 287 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4514, allocations: 0 / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004083/0.4518, allocations: 83.98 kB / 1.085 GB, free: 12.19 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: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002819/0.4521, allocations: 131.2 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.4526, allocations: 256.4 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4526, allocations: 0 / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.4528, allocations: 151.9 kB / 1.085 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4531, allocations: 28.58 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4541, allocations: 0.6163 MB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.4545, allocations: 0.7638 MB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.4546, allocations: 49.94 kB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.4547, allocations: 27.44 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4547, allocations: 0 / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.009463/0.4642, allocations: 4.771 MB / 1.091 GB, free: 5.379 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)