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.001586/0.001586, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002053/0.002053, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.538/1.538, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001355, allocations: 65.97 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.464, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002762/0.4668, allocations: 0.7487 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.4694, allocations: 1.346 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.4696, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.4702, allocations: 179.6 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.4705, allocations: 103.7 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009353/0.4714, allocations: 210.7 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006921/0.4721, allocations: 483.7 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.4722, allocations: 11.98 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.4726, allocations: 207.6 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.4731, allocations: 207.6 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.4733, allocations: 24 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.4735, allocations: 79.94 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.4739, allocations: 251.5 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.4742, allocations: 159.3 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006926/0.4749, allocations: 475 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.475, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.351e-06/0.475, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.475, allocations: 3.938 kB / 1.072 GB, free: 6.309 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.001467/0.4765, allocations: 0.6384 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4765, allocations: 8.031 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4767, allocations: 32.66 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.4774, allocations: 380 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4774, allocations: 16.38 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.4775, allocations: 24.36 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.4778, allocations: 184.7 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4779, allocations: 4.125 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.4779, allocations: 7.938 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4779, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.4781, allocations: 107.9 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.4786, allocations: 383.2 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.4791, allocations: 319.6 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4793, allocations: 126.5 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.4794, allocations: 4 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006582/0.48, allocations: 279.3 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.334e-06/0.48, allocations: 0 / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009553/0.481, allocations: 0.5009 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.4811, allocations: 110.8 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.4816, allocations: 400.4 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.4817, allocations: 41.7 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.4819, allocations: 152.7 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.4819, allocations: 43.48 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4822, allocations: 121.6 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4823, allocations: 338.8 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.4826, allocations: 91.95 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.4832, allocations: 467.2 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.4836, allocations: 265.6 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4836, allocations: 0 / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005817/0.4842, allocations: 329.2 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4842, allocations: 12.06 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4842, allocations: 4 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4843, allocations: 4 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.4844, allocations: 27.92 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.4845, allocations: 12.56 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.4853, allocations: 71.88 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.4853, allocations: 15.98 kB / 1.077 GB, free: 416 kB / 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.0002451/0.4856, allocations: 195.9 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.4856, allocations: 31.64 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.4857, allocations: 33.89 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4857, allocations: 0 / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4857, allocations: 4 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4857, allocations: 0 / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.4861, allocations: 285.4 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4861, allocations: 8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.4862, allocations: 7.875 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4862, allocations: 7.938 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.4862, allocations: 11.98 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4862, allocations: 0 / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4862, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.4869, allocations: 427.6 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.487, allocations: 100.8 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.487, allocations: 7.984 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.4871, allocations: 4 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4872, allocations: 19.92 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4872, allocations: 15.98 kB / 1.078 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000333/0.4876, allocations: 287 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4876, allocations: 0 / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000424/0.488, allocations: 79.98 kB / 1.079 GB, free: 14.81 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.0002936/0.4883, allocations: 139.2 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.4888, allocations: 267.7 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4888, allocations: 3.938 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.489, allocations: 144.7 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4893, allocations: 36.58 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4904, allocations: 0.6017 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4909, allocations: 0.7674 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.491, allocations: 62.03 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.4911, allocations: 27.44 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4912, allocations: 4 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.01042/0.5016, allocations: 4.995 MB / 1.086 GB, free: 7.785 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=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