Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001055/0.001055, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.01008/0.01008, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.221/3.221, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 12.69 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4155, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00113/0.4167, allocations: 418.9 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.4191, allocations: 1.342 MB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.4192, allocations: 0 / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.4198, allocations: 183.6 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.42, allocations: 103.7 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.4209, allocations: 214.7 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.4215, allocations: 435.8 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.4216, allocations: 11.98 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.422, allocations: 187.6 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.4224, allocations: 195.6 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4226, allocations: 12 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.4229, allocations: 67.94 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.4232, allocations: 239.5 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.4234, allocations: 165 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.4241, allocations: 463 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4241, allocations: 4 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4241, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4241, allocations: 0 / 1.078 GB, free: 3.5 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.001045/0.4252, allocations: 0.5178 MB / 1.079 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4252, allocations: 8.031 kB / 1.079 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.4254, allocations: 36.58 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.426, allocations: 388 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.426, allocations: 20.38 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.4261, allocations: 20.38 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.4264, allocations: 188.7 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4265, allocations: 192 / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.4265, allocations: 3.938 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4265, allocations: 0 / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.4267, allocations: 111.9 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.4272, allocations: 383.2 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.4277, allocations: 311.6 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.4279, allocations: 130.6 kB / 1.08 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.4279, allocations: 3.938 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.4284, allocations: 283.5 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.988e-06/0.4284, allocations: 0 / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008744/0.4293, allocations: 0.5009 MB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.4294, allocations: 114.8 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.4299, allocations: 400.4 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/0.43, allocations: 41.69 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.4301, allocations: 148.8 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.4302, allocations: 43.48 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.4303, allocations: 33.7 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4304, allocations: 346.8 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.4306, allocations: 83.95 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.4311, allocations: 465 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.4315, allocations: 265.4 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4315, allocations: 0 / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000555/0.432, allocations: 333.2 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4321, allocations: 8.031 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4321, allocations: 4 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4321, allocations: 4 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.4323, allocations: 27.92 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.4323, allocations: 11.94 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.4331, allocations: 83.34 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4332, allocations: 12 kB / 1.083 GB, free: 13.8 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.0002838/0.4335, allocations: 196.2 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.4335, allocations: 39.55 kB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.4336, allocations: 29.89 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4336, allocations: 4 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4336, allocations: 0 / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4336, allocations: 4 kB / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.434, allocations: 289.5 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.434, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.434, allocations: 7.938 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.434, allocations: 4 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.434, allocations: 19.86 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4341, allocations: 3.938 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4341, allocations: 0 / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.4347, allocations: 430.3 kB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4348, allocations: 116.7 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.4348, allocations: 8.125 kB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.4349, allocations: 7.984 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.435, allocations: 15.98 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.435, allocations: 11.98 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003354/0.4354, allocations: 291 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4354, allocations: 4 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004117/0.4358, allocations: 75.98 kB / 1.085 GB, free: 12.18 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.000325/0.4361, allocations: 139.2 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.4366, allocations: 255.7 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4366, allocations: 0.8125 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4368, allocations: 147.9 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4372, allocations: 28.58 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/0.4382, allocations: 0.6135 MB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.4386, allocations: 0.7725 MB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.4388, allocations: 45.94 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.4389, allocations: 35.42 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.4389, allocations: 0 / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.01065/0.4496, allocations: 4.771 MB / 1.091 GB, free: 5.363 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)