Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001516/0.001517, 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.001851/0.001851, allocations: 198.6 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.602/2.602, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.8125 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.8771, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.003261/0.8804, allocations: 0.6684 MB / 0.9503 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.8828, allocations: 1.35 MB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.8829, allocations: 1.281 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.8837, allocations: 182 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.8839, allocations: 111.3 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.885, allocations: 226.6 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.8857, allocations: 475.9 kB / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.8858, allocations: 4.375 kB / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.8863, allocations: 206.3 kB / 0.9527 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.8869, allocations: 211.7 kB / 0.9529 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.887, allocations: 21.5 kB / 0.953 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.8873, allocations: 76.92 kB / 0.953 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/0.8879, allocations: 266.5 kB / 0.9533 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.8882, allocations: 147.1 kB / 0.9534 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007101/0.8889, allocations: 472.8 kB / 0.9539 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8889, allocations: 3.938 kB / 0.9539 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8889, allocations: 1.438 kB / 0.9539 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.8889, allocations: 0 / 0.9539 GB, free: 6.293 MB / 0.7169 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.001183/0.8901, allocations: 0.6318 MB / 0.9545 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.8902, allocations: 9.031 kB / 0.9545 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.8904, allocations: 38.75 kB / 0.9545 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.891, allocations: 388 kB / 0.9549 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.891, allocations: 9 kB / 0.9549 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.8912, allocations: 19.78 kB / 0.9549 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.8916, allocations: 193.6 kB / 0.9551 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8916, allocations: 3.938 kB / 0.9551 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.8917, allocations: 5.312 kB / 0.9551 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.8917, allocations: 1.344 kB / 0.9551 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.8919, allocations: 109.4 kB / 0.9552 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.8925, allocations: 391.4 kB / 0.9556 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.8931, allocations: 316.6 kB / 0.9559 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.8934, allocations: 133.5 kB / 0.956 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8934, allocations: 0.9062 kB / 0.956 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/0.894, allocations: 285.5 kB / 0.9563 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.894, allocations: 0 / 0.9563 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001191/0.8952, allocations: 0.4883 MB / 0.9568 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.8953, allocations: 117.2 kB / 0.9569 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.896, allocations: 398.1 kB / 0.9573 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.8961, allocations: 44.22 kB / 0.9573 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.8962, allocations: 155.8 kB / 0.9575 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.8963, allocations: 34.17 kB / 0.9575 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.8965, allocations: 116.3 kB / 0.9576 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.8966, allocations: 345.2 kB / 0.9579 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.8968, allocations: 82.8 kB / 0.958 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.8975, allocations: 474 kB / 0.9585 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.898, allocations: 250.4 kB / 0.9587 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.898, allocations: 1.344 kB / 0.9587 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008501/0.8989, allocations: 337.7 kB / 0.959 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.8989, allocations: 5.844 kB / 0.959 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.8989, allocations: 3.625 kB / 0.959 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/0.899, allocations: 6.094 kB / 0.9591 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.8992, allocations: 36.44 kB / 0.9591 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.8993, allocations: 5 kB / 0.9591 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.9003, allocations: 79.97 kB / 0.9592 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.9004, allocations: 11.22 kB / 0.9592 GB, free: 2.355 MB / 0.7169 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.0003498/0.9007, allocations: 194.7 kB / 0.9594 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.9008, allocations: 28.69 kB / 0.9594 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.9009, allocations: 37.98 kB / 0.9594 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.9009, allocations: 2.438 kB / 0.9594 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.901, allocations: 0 / 0.9594 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.901, allocations: 9.141 kB / 0.9594 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.9013, allocations: 283.9 kB / 0.9597 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9014, allocations: 1.281 kB / 0.9597 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.9014, allocations: 11.3 kB / 0.9597 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9014, allocations: 1.062 kB / 0.9597 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.9014, allocations: 8.969 kB / 0.9597 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9014, allocations: 1.375 kB / 0.9597 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9014, allocations: 0 / 0.9597 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.9023, allocations: 440.3 kB / 0.9602 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.9023, allocations: 102.3 kB / 0.9603 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.9024, allocations: 6.375 kB / 0.9603 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9025, allocations: 5.172 kB / 0.9603 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.9026, allocations: 19.98 kB / 0.9603 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.9027, allocations: 14.06 kB / 0.9603 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004382/0.9031, allocations: 288.5 kB / 0.9606 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.422e-06/0.9031, allocations: 4 kB / 0.9606 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006879/0.9038, allocations: 83.39 kB / 0.9607 GB, free: 1.324 MB / 0.7169 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.0002877/0.9041, allocations: 134.4 kB / 0.9608 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.9048, allocations: 273.7 kB / 0.961 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9048, allocations: 1.25 kB / 0.961 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.9051, allocations: 147.6 kB / 0.9612 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.9055, allocations: 33.98 kB / 0.9612 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9069, allocations: 0.5709 MB / 0.9618 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.9073, allocations: 0.7671 MB / 0.9625 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002377/0.9076, allocations: 47.08 kB / 0.9626 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.9077, allocations: 27.2 kB / 0.9626 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/0.9077, allocations: 0.9062 kB / 0.9626 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.01323/0.921, allocations: 4.987 MB / 0.9675 GB, free: 13.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches