Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_11_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.001276/0.001276, 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.01039/0.01039, allocations: 173 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.604/1.604, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.251/3.251, allocations: 470.6 MB / 0.7442 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 12.69 kB / 0.9123 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4507, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001079/0.4518, allocations: 405.7 kB / 1.07 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.454, allocations: 1.347 MB / 1.072 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.454, allocations: 3.938 kB / 1.072 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.4546, allocations: 179.7 kB / 1.072 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.4547, allocations: 99.73 kB / 1.072 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.4555, allocations: 220 kB / 1.072 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.456, allocations: 439.7 kB / 1.073 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.4561, allocations: 8 kB / 1.073 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.4563, allocations: 183.6 kB / 1.073 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.4567, allocations: 199.6 kB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.4568, allocations: 12 kB / 1.073 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.457, allocations: 71.94 kB / 1.073 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.4573, allocations: 239.5 kB / 1.073 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.4576, allocations: 172.9 kB / 1.073 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.4582, allocations: 451 kB / 1.074 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4582, allocations: 0 / 1.074 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4582, allocations: 4 kB / 1.074 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.4583, allocations: 0 / 1.074 GB, free: 7.383 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.001021/0.4593, allocations: 0.5217 MB / 1.074 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4593, allocations: 12.03 kB / 1.074 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.4595, allocations: 28.66 kB / 1.074 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.4601, allocations: 388 kB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.4602, allocations: 12.38 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.4603, allocations: 20.38 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.4606, allocations: 200.6 kB / 1.075 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4606, allocations: 192 / 1.075 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.4607, allocations: 3.938 kB / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4607, allocations: 0 / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4609, allocations: 107.9 kB / 1.075 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.4615, allocations: 383.1 kB / 1.075 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.462, allocations: 315.6 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.4622, allocations: 130.5 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4623, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005424/0.4628, allocations: 291.4 kB / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.4628, allocations: 0 / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009724/0.4638, allocations: 0.5015 MB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4639, allocations: 114.8 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.4644, allocations: 392.5 kB / 1.077 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.4645, allocations: 45.69 kB / 1.077 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4647, allocations: 152.7 kB / 1.077 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.4648, allocations: 43.47 kB / 1.077 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.4648, allocations: 37.64 kB / 1.077 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.465, allocations: 338.8 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4652, allocations: 91.94 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.4658, allocations: 463 kB / 1.078 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.4661, allocations: 257.5 kB / 1.078 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4662, allocations: 4 kB / 1.078 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005428/0.4667, allocations: 328.8 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4667, allocations: 8 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4667, allocations: 4 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4668, allocations: 4.406 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.467, allocations: 35.92 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.467, allocations: 4 kB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.4678, allocations: 80.16 kB / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4678, allocations: 11.98 kB / 1.079 GB, free: 1.691 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.000266/0.4681, allocations: 195.9 kB / 1.079 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4682, allocations: 31.64 kB / 1.079 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.4682, allocations: 33.89 kB / 1.079 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4683, allocations: 4 kB / 1.079 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4683, allocations: 0 / 1.079 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4683, allocations: 0 / 1.079 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.4687, allocations: 289.4 kB / 1.079 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4687, allocations: 0 / 1.079 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.4687, allocations: 11.88 kB / 1.079 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4687, allocations: 4 kB / 1.079 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.4687, allocations: 11.98 kB / 1.079 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.4687, allocations: 4 kB / 1.079 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4687, allocations: 0 / 1.079 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.4694, allocations: 435.6 kB / 1.08 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4695, allocations: 112.7 kB / 1.08 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4696, allocations: 12.12 kB / 1.08 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.4697, allocations: 7.984 kB / 1.08 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.4698, allocations: 15.98 kB / 1.08 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.4698, allocations: 12.23 kB / 1.08 GB, free: 448 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003467/0.4701, allocations: 291 kB / 1.08 GB, free: 156 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4702, allocations: 0 / 1.08 GB, free: 156 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004072/0.4706, allocations: 79.98 kB / 1.08 GB, free: 76 kB / 0.8262 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.0003008/0.4709, allocations: 139.2 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004999/0.4714, allocations: 255.7 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4714, allocations: 0 / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.4716, allocations: 143.9 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.4719, allocations: 37.33 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.473, allocations: 0.6136 MB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.4735, allocations: 0.7693 MB / 1.082 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.4737, allocations: 53.88 kB / 1.082 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.4738, allocations: 31.38 kB / 1.082 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.4738, allocations: 0 / 1.082 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.01096/0.4847, allocations: 4.759 MB / 1.087 GB, free: 9.262 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches