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.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001243, allocations: 108 kB / 15.6 MB, free: 132 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.001789/0.00179, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.08/3.08, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.64 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.444, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002278/0.4464, allocations: 0.6857 MB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.4485, allocations: 1.344 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.4486, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.4492, allocations: 195.5 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.4493, allocations: 103.7 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.4501, allocations: 226.8 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.4507, allocations: 483.7 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.4508, allocations: 7.984 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.451, allocations: 203.6 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.4514, allocations: 211.5 kB / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-05/0.4515, allocations: 24 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.4518, allocations: 83.94 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.4522, allocations: 255.5 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.4524, allocations: 151.3 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.453, allocations: 467 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.453, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.986e-06/0.453, allocations: 8 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.453, allocations: 0 / 1.072 GB, free: 6.031 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.001201/0.4542, allocations: 0.6345 MB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.4543, allocations: 8.031 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.4545, allocations: 36.59 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.4552, allocations: 388 kB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.4552, allocations: 12.38 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.4553, allocations: 20.38 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.4557, allocations: 188.7 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4557, allocations: 192 / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.4558, allocations: 7.922 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4558, allocations: 4 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.456, allocations: 107.9 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.4566, allocations: 379.2 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.4571, allocations: 319.6 kB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.4573, allocations: 122.6 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4573, allocations: 7.938 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/0.4579, allocations: 279.2 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 5.23e-06/0.4579, allocations: 4 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009049/0.4588, allocations: 0.4936 MB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4589, allocations: 118.8 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.4595, allocations: 396.5 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4596, allocations: 41.7 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.4598, allocations: 156.7 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.4598, allocations: 47.47 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.4601, allocations: 117.5 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4603, allocations: 346.8 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4604, allocations: 83.95 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.461, allocations: 471.8 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.4614, allocations: 257.6 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4614, allocations: 0 / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005242/0.4619, allocations: 328.8 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.462, allocations: 8 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.462, allocations: 4.531 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.462, allocations: 12 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4622, allocations: 31.92 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.4623, allocations: 16 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/0.4631, allocations: 69.31 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.4631, allocations: 15.94 kB / 1.078 GB, free: 128 kB / 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.0002616/0.4634, allocations: 195.9 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.4634, allocations: 31.66 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.4635, allocations: 33.89 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4635, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4635, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4636, allocations: 4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.4639, allocations: 285.4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4639, allocations: 0 / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.4639, allocations: 7.938 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.914e-05/0.4639, allocations: 11.98 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.464, allocations: 11.94 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.464, allocations: 3.938 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.464, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.4646, allocations: 426.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.4647, allocations: 104.8 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.4647, allocations: 8 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.4648, allocations: 8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.4649, allocations: 19.97 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.4649, allocations: 12 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003297/0.4653, allocations: 295 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4653, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004054/0.4657, allocations: 72 kB / 1.079 GB, free: 14.53 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.0003149/0.466, allocations: 139.7 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.4666, allocations: 263.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4666, allocations: 0 / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.4668, allocations: 147.9 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4671, allocations: 37.83 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4683, allocations: 0.5706 MB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.4688, allocations: 0.7635 MB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.4689, allocations: 54.16 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.469, allocations: 31.42 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.469, allocations: 0 / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.01059/0.4796, allocations: 4.996 MB / 1.086 GB, free: 7.555 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)