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.001615/0.001615, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002175/0.002175, allocations: 193 kB / 16.25 MB, free: 6.621 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.57/1.57, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.149/3.149, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.95 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.43, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002321/0.4324, allocations: 0.7527 MB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.4344, allocations: 1.349 MB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.4345, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.4351, allocations: 175.7 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.4352, allocations: 107.7 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.436, allocations: 202.6 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.4367, allocations: 483.7 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4368, allocations: 11.98 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.4371, allocations: 207.6 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.4375, allocations: 207.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.4376, allocations: 20 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.4378, allocations: 83.89 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.4382, allocations: 263.4 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.4384, allocations: 147.3 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.4391, allocations: 475 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4392, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4392, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.4392, allocations: 0 / 1.072 GB, free: 6.301 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.001375/0.4406, allocations: 0.6423 MB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4406, allocations: 8.031 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.4408, allocations: 32.64 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.4413, allocations: 384 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.4413, allocations: 24.36 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.4414, allocations: 20.38 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.4417, allocations: 188.6 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4417, allocations: 192 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.4418, allocations: 3.938 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4418, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.4419, allocations: 115.9 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.4424, allocations: 379.2 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.4429, allocations: 315.6 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4431, allocations: 122.6 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.4431, allocations: 4 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/0.4436, allocations: 281.6 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.4436, allocations: 0 / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008837/0.4445, allocations: 0.5051 MB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.4445, allocations: 114.7 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.445, allocations: 400.5 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.445, allocations: 41.64 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4452, allocations: 156.7 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.4452, allocations: 43.48 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.4454, allocations: 113.6 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002613/0.4457, allocations: 346.8 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.4458, allocations: 83.95 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.4463, allocations: 463.3 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.4467, allocations: 265.5 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4467, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005136/0.4472, allocations: 328.8 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.4473, allocations: 10.12 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4473, allocations: 8 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4473, allocations: 4 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.4475, allocations: 31.92 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.4475, allocations: 4 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.4483, allocations: 72.14 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.4483, allocations: 8 kB / 1.077 GB, free: 412 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.0002199/0.4486, allocations: 204.8 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.4486, allocations: 27.78 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.4487, allocations: 33.89 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4487, allocations: 8 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4487, allocations: 0 / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4487, allocations: 0 / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.449, allocations: 293.4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.449, allocations: 3.938 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.4491, allocations: 11.94 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4491, allocations: 3.938 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4491, allocations: 11.98 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4491, allocations: 4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4491, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.4497, allocations: 430.3 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.4498, allocations: 108.8 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.4498, allocations: 0 / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4499, allocations: 8 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.45, allocations: 15.98 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.45, allocations: 11.98 kB / 1.078 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003002/0.4503, allocations: 295 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4503, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003799/0.4507, allocations: 72 kB / 1.079 GB, free: 14.79 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.0002492/0.451, allocations: 139.2 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.4514, allocations: 272.9 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4515, allocations: 4 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.4517, allocations: 143.9 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.452, allocations: 29.39 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.453, allocations: 0.6041 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.4535, allocations: 0.7674 MB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000212/0.4537, allocations: 45.94 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.4538, allocations: 31.42 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.4538, allocations: 7.875 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.01106/0.4649, allocations: 4.998 MB / 1.086 GB, free: 7.77 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)