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 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="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.001507/0.001507, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001489/0.001489, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.671/2.671, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.17 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6977, allocations: 162.2 MB / 1.083 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00189/0.6996, allocations: 0.6667 MB / 1.084 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.7013, allocations: 1.351 MB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.7013, allocations: 1.406 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.7018, allocations: 191.7 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.702, allocations: 95.77 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.7027, allocations: 231.2 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.7032, allocations: 482.4 kB / 1.086 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.7033, allocations: 13.28 kB / 1.086 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.7035, allocations: 207.3 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.7039, allocations: 200.7 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.704, allocations: 21.09 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.7042, allocations: 81.83 kB / 1.086 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.7046, allocations: 259.3 kB / 1.087 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.7048, allocations: 149.3 kB / 1.087 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.7054, allocations: 474.9 kB / 1.087 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7054, allocations: 1.5 kB / 1.087 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7054, allocations: 0 / 1.087 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7054, allocations: 0 / 1.087 GB, free: 15.52 MB / 0.8419 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.001055/0.7065, allocations: 0.6323 MB / 1.088 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7065, allocations: 13.56 kB / 1.088 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.7066, allocations: 29.84 kB / 1.088 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.7072, allocations: 385.9 kB / 1.088 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.7072, allocations: 21.88 kB / 1.088 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.7073, allocations: 18.17 kB / 1.088 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.7076, allocations: 185.2 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.7076, allocations: 1.547 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.7077, allocations: 5.109 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.7077, allocations: 5.094 kB / 1.088 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.7079, allocations: 108.9 kB / 1.089 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.7084, allocations: 391.1 kB / 1.089 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.7089, allocations: 312.9 kB / 1.089 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.7091, allocations: 134.2 kB / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.7091, allocations: 5.891 kB / 1.089 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.7095, allocations: 275.8 kB / 1.09 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.7096, allocations: 3.938 kB / 1.09 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009309/0.7105, allocations: 0.4991 MB / 1.09 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.7106, allocations: 115.1 kB / 1.09 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.7111, allocations: 399.1 kB / 1.091 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.7112, allocations: 37.09 kB / 1.091 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.7114, allocations: 154.3 kB / 1.091 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.7114, allocations: 46.09 kB / 1.091 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.7116, allocations: 118.4 kB / 1.091 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.7118, allocations: 347.2 kB / 1.091 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.7119, allocations: 82.33 kB / 1.091 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.7125, allocations: 464.7 kB / 1.092 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.7128, allocations: 257.8 kB / 1.092 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.7128, allocations: 1.031 kB / 1.092 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005557/0.7134, allocations: 332.9 kB / 1.092 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7134, allocations: 8.266 kB / 1.092 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.7134, allocations: 3.906 kB / 1.092 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.7135, allocations: 6.094 kB / 1.092 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.7136, allocations: 28.77 kB / 1.092 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.7136, allocations: 9.453 kB / 1.092 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.7144, allocations: 75.73 kB / 1.093 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.7144, allocations: 15.81 kB / 1.093 GB, free: 12.23 MB / 0.8419 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.0002298/0.7147, allocations: 191.1 kB / 1.093 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.7147, allocations: 28.2 kB / 1.093 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.7148, allocations: 37.2 kB / 1.093 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7148, allocations: 3.219 kB / 1.093 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7148, allocations: 1.156 kB / 1.093 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7148, allocations: 2.219 kB / 1.093 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.7151, allocations: 285.8 kB / 1.093 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7152, allocations: 1.406 kB / 1.093 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.7152, allocations: 15.78 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7152, allocations: 2.375 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.7152, allocations: 10.28 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7152, allocations: 1.656 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7152, allocations: 2.016 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.7158, allocations: 428.8 kB / 1.093 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.7159, allocations: 107.4 kB / 1.094 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.7159, allocations: 7.328 kB / 1.094 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.716, allocations: 2.312 kB / 1.094 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.7161, allocations: 16.88 kB / 1.094 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.7161, allocations: 15.48 kB / 1.094 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00033/0.7164, allocations: 292.7 kB / 1.094 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7165, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003946/0.7169, allocations: 76.61 kB / 1.094 GB, free: 11.38 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.0002224/0.7171, allocations: 145.5 kB / 1.094 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.7175, allocations: 265.6 kB / 1.094 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7175, allocations: 0.8125 kB / 1.094 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.7178, allocations: 176.1 kB / 1.095 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.7181, allocations: 38.33 kB / 1.095 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.719, allocations: 0.6044 MB / 1.095 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.7195, allocations: 0.7709 MB / 1.096 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.7196, allocations: 31.81 kB / 1.096 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7196, allocations: 0 / 1.096 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.009435/0.729, allocations: 4.319 MB / 1.1 GB, free: 9.668 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time