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.001798/0.001798, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002239/0.002238, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.573/1.573, allocations: 222.9 MB / 239.9 MB, free: 4.512 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 2.971/2.971, allocations: 469.8 MB / 0.742 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 74.28 kB / 0.9081 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 159.2 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002291/0.3727, allocations: 0.7311 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3747, allocations: 1.355 MB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.3748, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.3753, allocations: 179.6 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3754, allocations: 107.7 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.3761, allocations: 203.5 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006005/0.3767, allocations: 487.7 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.3768, allocations: 8 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.377, allocations: 203.6 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.3774, allocations: 211.5 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.3775, allocations: 20 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.3777, allocations: 83.94 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.378, allocations: 259.5 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3782, allocations: 151.3 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.3788, allocations: 471 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3788, allocations: 3.984 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3788, allocations: 3.938 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3788, allocations: 0 / 1.068 GB, free: 10.15 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.001085/0.3799, allocations: 0.6384 MB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3799, allocations: 8.031 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.3801, allocations: 32.66 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.3806, allocations: 388 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.3807, allocations: 16.38 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.3807, allocations: 20.38 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.3811, allocations: 188.7 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3811, allocations: 192 / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.3811, allocations: 3.938 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3811, allocations: 0 / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3813, allocations: 119.9 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.3818, allocations: 383.2 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.3823, allocations: 315.6 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.3825, allocations: 126.6 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.3825, allocations: 0 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004956/0.383, allocations: 279.6 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.383, allocations: 0 / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008748/0.3839, allocations: 0.5048 MB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.384, allocations: 110.8 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.3845, allocations: 396.5 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.3845, allocations: 37.7 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3847, allocations: 160.8 kB / 1.071 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3848, allocations: 43.39 kB / 1.071 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3849, allocations: 117.6 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3851, allocations: 342.8 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3853, allocations: 79.95 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.3859, allocations: 467 kB / 1.072 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.3862, allocations: 265.4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3862, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005169/0.3867, allocations: 333.2 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3868, allocations: 11.94 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3868, allocations: 0 / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.3868, allocations: 8.125 kB / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.387, allocations: 35.92 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.387, allocations: 7.938 kB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.3878, allocations: 60.03 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3878, allocations: 16 kB / 1.073 GB, free: 4.262 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.0002492/0.3881, allocations: 195.9 kB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.3881, allocations: 31.64 kB / 1.073 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.3882, allocations: 33.89 kB / 1.073 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3882, allocations: 4 kB / 1.073 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3882, allocations: 0 / 1.073 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3882, allocations: 4 kB / 1.073 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.3885, allocations: 289.4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3885, allocations: 0 / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.3886, allocations: 7.938 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3886, allocations: 0 / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3886, allocations: 7.984 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3886, allocations: 7.938 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3886, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.3892, allocations: 434.3 kB / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.3893, allocations: 104.8 kB / 1.074 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.3893, allocations: 3.984 kB / 1.074 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.3894, allocations: 8 kB / 1.074 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.3895, allocations: 15.98 kB / 1.074 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3895, allocations: 11.98 kB / 1.074 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003345/0.3899, allocations: 287 kB / 1.074 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3899, allocations: 0 / 1.074 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003784/0.3903, allocations: 79.98 kB / 1.075 GB, free: 2.668 MB / 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.0002574/0.3905, allocations: 143.1 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.391, allocations: 260.3 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.391, allocations: 0.8125 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3912, allocations: 151.9 kB / 1.075 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3915, allocations: 39 kB / 1.075 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/0.3925, allocations: 0.6196 MB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3929, allocations: 0.7713 MB / 1.076 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.393, allocations: 49.94 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.3931, allocations: 27.44 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3931, allocations: 0 / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of Templates: time 0.009824/0.4029, allocations: 4.972 MB / 1.081 GB, free: 11.64 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