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.001268/0.001268, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001688/0.001689, allocations: 168.7 kB / 15.95 MB, free: 204 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.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.024/3.024, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004003, allocations: 7.969 kB / 0.9022 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 159.6 MB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0008746/0.3554, allocations: 397.8 kB / 1.058 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3573, allocations: 1.322 MB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.3574, allocations: 3.938 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.3579, allocations: 187.7 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3581, allocations: 95.73 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.3588, allocations: 220.1 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.3594, allocations: 371.7 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.3595, allocations: 4 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.3599, allocations: 187.7 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.3603, allocations: 195.6 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.3604, allocations: 12 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.3606, allocations: 67.94 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.361, allocations: 239.5 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3611, allocations: 61.58 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.3615, allocations: 351.5 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3615, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3615, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.3615, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 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.0008838/0.3624, allocations: 0.5293 MB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3624, allocations: 8.031 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.3626, allocations: 35.66 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3631, allocations: 375 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.3632, allocations: 15.95 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.3633, allocations: 23.94 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.3636, allocations: 188.1 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3636, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.3636, allocations: 3.984 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.3636, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3638, allocations: 115.8 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.3643, allocations: 379.2 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.3648, allocations: 323.6 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.365, allocations: 126.6 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.365, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.3654, allocations: 287.7 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.3654, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008384/0.3663, allocations: 0.4895 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3664, allocations: 122.7 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.3668, allocations: 396.5 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.3669, allocations: 37.7 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3671, allocations: 157 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3671, allocations: 35.55 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.3671, allocations: 8 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3673, allocations: 346.8 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3674, allocations: 79.95 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.368, allocations: 463 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3682, allocations: 131.8 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3682, allocations: 3.953 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004934/0.3687, allocations: 333 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3687, allocations: 4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3687, allocations: 4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3688, allocations: 8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3689, allocations: 35.84 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.369, allocations: 7.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.3696, allocations: 80.14 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.3697, allocations: 12 kB / 1.067 GB, free: 12.09 MB / 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 ($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.0002164/0.3699, allocations: 195.9 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.37, allocations: 27.67 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.37, allocations: 37.89 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.37, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.37, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3701, allocations: 3.984 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3703, allocations: 281.4 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3703, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.3704, allocations: 11.88 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3704, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3704, allocations: 8 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3704, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3705, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.371, allocations: 430.3 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.3711, allocations: 116.7 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3712, allocations: 7.953 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.3713, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3713, allocations: 23.91 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3714, allocations: 12 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003741/0.3718, allocations: 295 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3718, allocations: 3.938 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003954/0.3722, allocations: 76 kB / 1.068 GB, free: 10.48 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: 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.0002513/0.3724, allocations: 135.2 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.3729, allocations: 252.2 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3729, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3731, allocations: 147.9 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3734, allocations: 24.64 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.3743, allocations: 0.5932 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.3749, allocations: 0.7677 MB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.375, allocations: 54.47 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.3751, allocations: 31.42 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3751, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.0105/0.3856, allocations: 4.618 MB / 1.075 GB, free: 3.867 MB / 0.8262 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