Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,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_latest_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.0009444/0.0009444, allocations: 91.84 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.007696/0.007695, allocations: 169.9 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.583/1.583, 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.0.1-master/package.mo): time 2.993/2.993, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 10.03 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3753, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0009515/0.3763, allocations: 416.4 kB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3782, allocations: 1.353 MB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.3783, allocations: 3.938 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.3788, allocations: 179.7 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3789, allocations: 103.7 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.3796, allocations: 207.4 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.3801, allocations: 443.7 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.3802, allocations: 4 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3804, allocations: 187.6 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.3807, allocations: 191.6 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.3808, allocations: 12 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.381, allocations: 71.94 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.3813, allocations: 243.5 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.3815, allocations: 169 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.382, allocations: 466.9 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.382, allocations: 0 / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.464e-06/0.382, allocations: 0 / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.382, allocations: 0 / 1.063 GB, free: 1.441 MB / 0.8106 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.0008846/0.3829, allocations: 0.5216 MB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.383, allocations: 8.031 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3831, allocations: 40.64 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.3836, allocations: 384 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3837, allocations: 12.38 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.3837, allocations: 20.38 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3841, allocations: 192.6 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3841, allocations: 192 / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3841, allocations: 3.938 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3841, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3843, allocations: 111.9 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.3848, allocations: 387.1 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.3853, allocations: 315.6 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.3854, allocations: 130.6 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.3855, allocations: 0 / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.3859, allocations: 286.4 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.3859, allocations: 0 / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008069/0.3867, allocations: 0.4976 MB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3868, allocations: 110.8 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.3873, allocations: 396.5 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.3873, allocations: 41.69 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3875, allocations: 152.8 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.3875, allocations: 51.38 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3876, allocations: 33.64 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3877, allocations: 346.8 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3879, allocations: 83.95 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.3884, allocations: 463.5 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.3887, allocations: 257.5 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3887, allocations: 4 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004992/0.3892, allocations: 337.1 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3892, allocations: 5.406 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3893, allocations: 4 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3893, allocations: 4 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3895, allocations: 31.92 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3895, allocations: 4 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007853/0.3903, allocations: 87.78 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3903, allocations: 12 kB / 1.068 GB, free: 11.75 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.0002453/0.3906, allocations: 191.9 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.3906, allocations: 31.66 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.3907, allocations: 33.89 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3907, allocations: 128 / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.3907, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3907, allocations: 8 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.391, allocations: 285.4 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.391, allocations: 3.938 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.3911, allocations: 11.88 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3911, allocations: 4 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3911, allocations: 11.98 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3911, allocations: 80 / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3911, allocations: 7.922 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.3917, allocations: 430.6 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3918, allocations: 120.6 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.3919, allocations: 7.984 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.392, allocations: 7.984 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.392, allocations: 15.98 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3921, allocations: 15.98 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003066/0.3924, allocations: 287 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3924, allocations: 4 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004021/0.3928, allocations: 75.98 kB / 1.069 GB, free: 10.12 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.0002704/0.3931, allocations: 140.3 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3935, allocations: 253.9 kB / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3935, allocations: 0 / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3938, allocations: 152 kB / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3941, allocations: 24.58 kB / 1.07 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.395, allocations: 0.6241 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3954, allocations: 0.7599 MB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.3955, allocations: 53.88 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.3956, allocations: 31.42 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3956, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of Templates: time 0.009561/0.4052, allocations: 4.776 MB / 1.076 GB, free: 3.324 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches