Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 108 kB / 15.61 MB, free: 152 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.001137/0.001137, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.454/2.454, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6658, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001901/0.6677, allocations: 0.6712 MB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.6693, allocations: 1.337 MB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.6694, allocations: 10.34 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.6699, allocations: 181 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.67, allocations: 112.9 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.6707, allocations: 221.4 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.6712, allocations: 471.5 kB / 0.9527 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.6713, allocations: 9.125 kB / 0.9527 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.6715, allocations: 201.9 kB / 0.9529 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.6718, allocations: 212.2 kB / 0.9531 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.6719, allocations: 22.12 kB / 0.9531 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.6722, allocations: 88.59 kB / 0.9532 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.6725, allocations: 250.4 kB / 0.9534 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.6727, allocations: 155.1 kB / 0.9536 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.6731, allocations: 473.4 kB / 0.954 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6731, allocations: 0 / 0.954 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6731, allocations: 0 / 0.954 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.6731, allocations: 3.938 kB / 0.954 GB, free: 6.234 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.0008291/0.674, allocations: 0.6286 MB / 0.9546 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.674, allocations: 14.53 kB / 0.9546 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.6741, allocations: 38.73 kB / 0.9547 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.6742, allocations: 38.41 kB / 0.9547 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.6747, allocations: 380.2 kB / 0.9551 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.6747, allocations: 21.11 kB / 0.9551 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.6748, allocations: 20.75 kB / 0.9551 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.6751, allocations: 189.1 kB / 0.9553 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6751, allocations: 0 / 0.9553 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.6751, allocations: 5.312 kB / 0.9553 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6751, allocations: 1.375 kB / 0.9553 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.6753, allocations: 117.5 kB / 0.9554 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.6757, allocations: 383.4 kB / 0.9558 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.6761, allocations: 317.4 kB / 0.9561 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.6763, allocations: 128.2 kB / 0.9562 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.6763, allocations: 5.906 kB / 0.9562 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.6768, allocations: 284.2 kB / 0.9565 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.6768, allocations: 0 / 0.9565 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0007608/0.6776, allocations: 0.492 MB / 0.957 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.6776, allocations: 116.8 kB / 0.9571 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.6781, allocations: 401.8 kB / 0.9575 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.6781, allocations: 40.23 kB / 0.9575 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.6782, allocations: 160.1 kB / 0.9576 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.6783, allocations: 38.22 kB / 0.9577 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.6785, allocations: 112.8 kB / 0.9578 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.6786, allocations: 344.8 kB / 0.9581 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.6787, allocations: 86.11 kB / 0.9582 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.6791, allocations: 463.2 kB / 0.9586 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.6794, allocations: 258.8 kB / 0.9589 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6794, allocations: 5.094 kB / 0.9589 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004568/0.6799, allocations: 332.5 kB / 0.9592 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6799, allocations: 12.03 kB / 0.9592 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6799, allocations: 3.625 kB / 0.9592 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6799, allocations: 9.125 kB / 0.9592 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.6801, allocations: 28.36 kB / 0.9593 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6801, allocations: 5.719 kB / 0.9593 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.6809, allocations: 77.75 kB / 0.9593 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.6809, allocations: 13.62 kB / 0.9594 GB, free: 2.242 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.0001812/0.6811, allocations: 195.7 kB / 0.9595 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.6811, allocations: 32.33 kB / 0.9596 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.6812, allocations: 33.98 kB / 0.9596 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6812, allocations: 2.406 kB / 0.9596 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6812, allocations: 1.281 kB / 0.9596 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6812, allocations: 5.281 kB / 0.9596 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.6815, allocations: 291.7 kB / 0.9599 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6815, allocations: 0 / 0.9599 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.6815, allocations: 3.719 kB / 0.9599 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6815, allocations: 5.812 kB / 0.9599 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.6815, allocations: 11.42 kB / 0.9599 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6815, allocations: 2.281 kB / 0.9599 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6815, allocations: 1.031 kB / 0.9599 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.6821, allocations: 441.3 kB / 0.9603 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.6822, allocations: 102.3 kB / 0.9604 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.6822, allocations: 1.531 kB / 0.9604 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.6823, allocations: 6.156 kB / 0.9604 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.6824, allocations: 15.58 kB / 0.9605 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.6824, allocations: 18.11 kB / 0.9605 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003156/0.6827, allocations: 292.9 kB / 0.9608 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6827, allocations: 0 / 0.9608 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004068/0.6831, allocations: 79 kB / 0.9608 GB, free: 1.215 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.0009165/0.6841, allocations: 1.004 MB / 0.9618 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.6846, allocations: 273.3 kB / 0.9621 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6846, allocations: 0 / 0.9621 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.6848, allocations: 144.2 kB / 0.9622 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.6851, allocations: 29.73 kB / 0.9622 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.6894, allocations: 3.254 MB / 0.9654 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.6898, allocations: 0.7712 MB / 0.9662 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.6899, allocations: 47.62 kB / 0.9662 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.6901, allocations: 82.44 kB / 0.9663 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/0.6901, allocations: 0 / 0.9663 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.7184, allocations: 7.556 MB / 0.9737 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.726, allocations: 8.5 kB / 0.9737 GB, free: 8.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches