Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001279/0.001279, 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.001434/0.001434, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 62.39 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4343, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00226/0.4366, allocations: 0.7426 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.4386, allocations: 1.357 MB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.4386, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.4392, allocations: 183.6 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.4393, allocations: 103.7 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.4401, allocations: 199.1 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.4406, allocations: 439.7 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.444e-05/0.4407, allocations: 11.98 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.4409, allocations: 183.6 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.4413, allocations: 199.5 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.4414, allocations: 12 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.4417, allocations: 83.88 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.442, allocations: 231.5 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.4422, allocations: 139.3 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.4428, allocations: 467 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4428, allocations: 4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.51e-07/0.4428, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4428, allocations: 0 / 1.072 GB, free: 6.531 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.001103/0.4439, allocations: 0.6307 MB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.444, allocations: 15.97 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.4441, allocations: 32.66 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.4448, allocations: 384 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.4448, allocations: 16.3 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.4449, allocations: 24.36 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.4453, allocations: 184.7 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4454, allocations: 192 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4454, allocations: 3.938 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4454, allocations: 8 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.4456, allocations: 111.9 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.4461, allocations: 387.2 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.4466, allocations: 319.6 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.4468, allocations: 118.6 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.4469, allocations: 4 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.4474, allocations: 279 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.223e-06/0.4475, allocations: 0 / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001004/0.4485, allocations: 0.5048 MB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4486, allocations: 110.8 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.4492, allocations: 404.4 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.4492, allocations: 45.7 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4494, allocations: 152.7 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.4495, allocations: 39.55 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4496, allocations: 117.6 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4498, allocations: 342.8 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4499, allocations: 87.94 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.4505, allocations: 463.3 kB / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.4508, allocations: 261.4 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4508, allocations: 0 / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004991/0.4513, allocations: 332.9 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4513, allocations: 8 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4514, allocations: 4 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4514, allocations: 4 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4516, allocations: 31.86 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.4516, allocations: 8 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.4524, allocations: 72.53 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.4524, allocations: 19.92 kB / 1.077 GB, free: 0.625 MB / 0.8262 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.0002694/0.4527, allocations: 191.9 kB / 1.077 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.4528, allocations: 31.64 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.4528, allocations: 37.89 kB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4528, allocations: 0 / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4529, allocations: 7.938 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4529, allocations: 4 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.4532, allocations: 281.4 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4532, allocations: 4 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.4533, allocations: 3.938 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4533, allocations: 4 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4533, allocations: 11.98 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4533, allocations: 0 / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4533, allocations: 0 / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.4539, allocations: 436 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.4541, allocations: 100.8 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.4541, allocations: 11.98 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.4542, allocations: 0 / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.4543, allocations: 15.98 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.4543, allocations: 15.98 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003694/0.4547, allocations: 291 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4547, allocations: 4 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004047/0.4551, allocations: 76 kB / 1.078 GB, free: 15.03 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.0003207/0.4554, allocations: 143.1 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.4559, allocations: 252.2 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4559, allocations: 4.25 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.4562, allocations: 148.5 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.4565, allocations: 28.52 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4576, allocations: 0.61 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.4582, allocations: 0.7638 MB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.4583, allocations: 54.11 kB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.4584, allocations: 31.38 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.4584, allocations: 0 / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.009937/0.4683, allocations: 4.795 MB / 1.085 GB, free: 8.184 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)