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.001304/0.001304, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01289/0.01289, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.557/1.557, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 443.3 MB / 0.7175 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 9.406 kB / 0.8796 GB, free: 42.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 155.2 MB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0009895/0.385, allocations: 414.2 kB / 1.032 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.387, allocations: 1.339 MB / 1.033 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.3871, allocations: 4 kB / 1.033 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.3876, allocations: 183.6 kB / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3877, allocations: 103.8 kB / 1.033 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.3883, allocations: 218.9 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.3888, allocations: 439.7 kB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.3889, allocations: 4 kB / 1.034 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3891, allocations: 187.6 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.3894, allocations: 203.6 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.3895, allocations: 8 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.3897, allocations: 71.89 kB / 1.034 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.39, allocations: 239.5 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3902, allocations: 169 kB / 1.035 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.3906, allocations: 451 kB / 1.035 GB, free: 468 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3907, allocations: 3.984 kB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3907, allocations: 0 / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3907, allocations: 0 / 1.035 GB, free: 464 kB / 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.0008402/0.3915, allocations: 0.5333 MB / 1.036 GB, free: 15.87 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3916, allocations: 8.031 kB / 1.036 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3917, allocations: 32.66 kB / 1.036 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.3922, allocations: 384 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3922, allocations: 12.38 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.3923, allocations: 20.38 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.3926, allocations: 196.6 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3926, allocations: 192 / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3926, allocations: 7.922 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3926, allocations: 4 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3928, allocations: 107.9 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3932, allocations: 375.2 kB / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.3937, allocations: 323.6 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3939, allocations: 122.6 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3939, allocations: 4 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.3943, allocations: 287.7 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.3943, allocations: 0 / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0008031/0.3951, allocations: 0.4971 MB / 1.038 GB, free: 13.36 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3952, allocations: 118.7 kB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.3957, allocations: 396.5 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.3957, allocations: 41.7 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.3959, allocations: 148.8 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.3959, allocations: 47.44 kB / 1.039 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.396, allocations: 29.7 kB / 1.039 GB, free: 12.54 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3961, allocations: 346.8 kB / 1.039 GB, free: 12.19 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3962, allocations: 79.95 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.3967, allocations: 468.5 kB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.397, allocations: 257.5 kB / 1.04 GB, free: 11.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.397, allocations: 4 kB / 1.04 GB, free: 11.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004749/0.3975, allocations: 332.8 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3975, allocations: 4 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3976, allocations: 4 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3976, allocations: 8 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.3977, allocations: 31.92 kB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3978, allocations: 5.031 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.3985, allocations: 80.86 kB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.3986, allocations: 15.98 kB / 1.04 GB, free: 10.76 MB / 0.795 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.0002132/0.3988, allocations: 195.9 kB / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.3989, allocations: 35.64 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.3989, allocations: 33.89 kB / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3989, allocations: 0 / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3989, allocations: 7.938 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.399, allocations: 0 / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3992, allocations: 285.5 kB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3992, allocations: 0 / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.3993, allocations: 7.938 kB / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3993, allocations: 0 / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3993, allocations: 7.984 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3993, allocations: 4 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3993, allocations: 4 kB / 1.041 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.3999, allocations: 442.1 kB / 1.041 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.4, allocations: 120.7 kB / 1.041 GB, free: 9.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.4, allocations: 8 kB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.4001, allocations: 8.047 kB / 1.041 GB, free: 9.523 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.4002, allocations: 23.98 kB / 1.041 GB, free: 9.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4002, allocations: 8 kB / 1.041 GB, free: 9.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003034/0.4006, allocations: 295 kB / 1.042 GB, free: 9.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4006, allocations: 0 / 1.042 GB, free: 9.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004003/0.401, allocations: 83.92 kB / 1.042 GB, free: 9.121 MB / 0.795 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.0002332/0.4012, allocations: 127.2 kB / 1.042 GB, free: 8.988 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.4016, allocations: 257.7 kB / 1.042 GB, free: 8.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4016, allocations: 0 / 1.042 GB, free: 8.738 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4018, allocations: 151.8 kB / 1.042 GB, free: 8.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4022, allocations: 28.77 kB / 1.042 GB, free: 8.562 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.403, allocations: 0.6172 MB / 1.043 GB, free: 7.918 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4033, allocations: 0.7638 MB / 1.044 GB, free: 7.125 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.4035, allocations: 50.94 kB / 1.044 GB, free: 7.078 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.4035, allocations: 23.44 kB / 1.044 GB, free: 7.055 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.4035, allocations: 3.938 kB / 1.044 GB, free: 7.051 MB / 0.795 GB Notification: Performance of Templates: time 0.009715/0.4133, allocations: 4.775 MB / 1.048 GB, free: 2.352 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","/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