Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 90.52 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.00969/0.00969, allocations: 171.1 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.045/3.045, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.0005413, allocations: 16.38 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4515, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001183/0.4528, allocations: 0.5713 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.4549, allocations: 1.455 MB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.455, allocations: 7.938 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.4555, allocations: 191.5 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.4557, allocations: 107.7 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/0.4566, allocations: 320.4 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.4575, allocations: 0.7683 MB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.4577, allocations: 96.25 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.458, allocations: 291.4 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.4584, allocations: 239.3 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.4585, allocations: 16 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.4587, allocations: 67.89 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.4591, allocations: 311.3 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.4594, allocations: 260.5 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.4603, allocations: 0.8689 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4603, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4603, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4603, allocations: 0 / 1.064 GB, free: 15.89 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001376/0.4617, allocations: 0.6971 MB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4617, allocations: 8.031 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.4619, allocations: 52.45 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.4627, allocations: 0.5487 MB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.4627, allocations: 24.61 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4628, allocations: 36.38 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.4633, allocations: 318.8 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4633, allocations: 192 / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.4634, allocations: 7.938 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4634, allocations: 4 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.4637, allocations: 219.8 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.4657, allocations: 1.187 MB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.4664, allocations: 467.8 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.4666, allocations: 182.6 kB / 1.068 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.4666, allocations: 3.938 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/0.4671, allocations: 332.4 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.4671, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.001032/0.4682, allocations: 0.6219 MB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.4683, allocations: 122.8 kB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/0.469, allocations: 0.5993 MB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-05/0.4691, allocations: 45.7 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.4694, allocations: 222.5 kB / 1.07 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.4694, allocations: 51.41 kB / 1.07 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.4695, allocations: 41.7 kB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4697, allocations: 358.8 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.4699, allocations: 131.8 kB / 1.07 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.4708, allocations: 0.7224 MB / 1.071 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.4712, allocations: 301.4 kB / 1.071 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4712, allocations: 0 / 1.071 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006578/0.4718, allocations: 421 kB / 1.072 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4719, allocations: 8 kB / 1.072 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4719, allocations: 4 kB / 1.072 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4719, allocations: 7.938 kB / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.4721, allocations: 39.86 kB / 1.072 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4721, allocations: 4 kB / 1.072 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.4734, allocations: 149.2 kB / 1.072 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.4734, allocations: 12 kB / 1.072 GB, free: 7.527 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003429/0.4738, allocations: 257.6 kB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.4739, allocations: 47.42 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.4739, allocations: 59.56 kB / 1.072 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.474, allocations: 0 / 1.072 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.474, allocations: 8 kB / 1.072 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.474, allocations: 3.984 kB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.4745, allocations: 397.3 kB / 1.073 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4745, allocations: 0 / 1.073 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.4745, allocations: 11.94 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4745, allocations: 4 kB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4746, allocations: 11.92 kB / 1.073 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4746, allocations: 0 / 1.073 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4746, allocations: 4 kB / 1.073 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.4753, allocations: 0.5175 MB / 1.073 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.4755, allocations: 140.5 kB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.4756, allocations: 7.938 kB / 1.073 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.4757, allocations: 19.98 kB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.4758, allocations: 27.97 kB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.4759, allocations: 19.98 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005087/0.4764, allocations: 435.1 kB / 1.074 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4764, allocations: 0 / 1.074 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00049/0.4769, allocations: 111.8 kB / 1.074 GB, free: 5.371 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003333/0.4772, allocations: 141.4 kB / 1.074 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.4778, allocations: 351.6 kB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4779, allocations: 0 / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.4781, allocations: 191.8 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4785, allocations: 41.89 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4798, allocations: 0.9263 MB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.4803, allocations: 0.8353 MB / 1.076 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.4806, allocations: 90.94 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.4807, allocations: 43.42 kB / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4807, allocations: 0 / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.01478/0.4955, allocations: 7.603 MB / 1.084 GB, free: 11.19 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches