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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001185/0.001185, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001329/0.00133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006171/0.0006174, allocations: 11.98 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8709, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0009499/0.8719, allocations: 403.5 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.8736, allocations: 1.292 MB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.8737, allocations: 0 / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.8742, allocations: 183.7 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.8743, allocations: 107.8 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.8749, allocations: 198.4 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.8754, allocations: 299.9 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.8755, allocations: 11.98 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.8757, allocations: 187.6 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.876, allocations: 183.6 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.876, allocations: 12 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.8762, allocations: 63.94 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.8766, allocations: 235.5 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.8766, allocations: 65.58 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.877, allocations: 357.2 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.877, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.215e-06/0.877, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.877, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 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.0008845/0.8779, allocations: 0.5224 MB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.878, allocations: 15.98 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.8781, allocations: 27.72 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.8787, allocations: 375 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.8788, allocations: 12 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.8788, allocations: 19.95 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.8792, allocations: 196 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8792, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.8792, allocations: 4 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.8792, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.8794, allocations: 111.9 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.8798, allocations: 387.1 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.8803, allocations: 311.7 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.8803, allocations: 8.078 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.8807, allocations: 279 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.8808, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007453/0.8815, allocations: 0.4971 MB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.8816, allocations: 106.8 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.8821, allocations: 404.4 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.8822, allocations: 41.7 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.8823, allocations: 153.1 kB / 1.028 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.8824, allocations: 39.52 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.8824, allocations: 7.938 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8826, allocations: 350.8 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.8827, allocations: 79.95 kB / 1.028 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.8832, allocations: 459 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.8834, allocations: 131.9 kB / 1.029 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8834, allocations: 4 kB / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004515/0.8839, allocations: 328.8 kB / 1.029 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8839, allocations: 8 kB / 1.029 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8839, allocations: 4 kB / 1.029 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8839, allocations: 4.641 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.8841, allocations: 31.92 kB / 1.029 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.8841, allocations: 15.92 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.8848, allocations: 82.98 kB / 1.029 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.8849, allocations: 12 kB / 1.029 GB, free: 8.164 MB / 0.7794 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.8851, allocations: 200 kB / 1.029 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.8851, allocations: 27.67 kB / 1.029 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.8852, allocations: 33.89 kB / 1.029 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.8852, allocations: 4 kB / 1.029 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8852, allocations: 0 / 1.029 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8852, allocations: 0 / 1.029 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.8855, allocations: 289.4 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8855, allocations: 0 / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.8855, allocations: 7.984 kB / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8855, allocations: 0 / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.8855, allocations: 11.95 kB / 1.03 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8856, allocations: 7.938 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8856, allocations: 0.625 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.8861, allocations: 455.7 kB / 1.03 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.8862, allocations: 124.6 kB / 1.03 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.8863, allocations: 11.94 kB / 1.03 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.8864, allocations: 0 / 1.03 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.8864, allocations: 15.98 kB / 1.03 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.8865, allocations: 19.98 kB / 1.03 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002875/0.8867, allocations: 283 kB / 1.031 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.192e-05/0.8868, allocations: 0 / 1.031 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003717/0.8871, allocations: 83.92 kB / 1.031 GB, free: 6.508 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/0.8874, allocations: 143.2 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.8878, allocations: 247.7 kB / 1.031 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8878, allocations: 0 / 1.031 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.888, allocations: 155.8 kB / 1.031 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.8882, allocations: 25.41 kB / 1.031 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008651/0.8891, allocations: 0.5929 MB / 1.032 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.8894, allocations: 0.7677 MB / 1.033 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.8896, allocations: 46.5 kB / 1.033 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.8897, allocations: 31.42 kB / 1.033 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8897, allocations: 7.938 kB / 1.033 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of Templates: time 0.008159/0.8978, allocations: 4.621 MB / 1.037 GB, free: 15.9 MB / 0.795 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches