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.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.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.001068/0.001068, allocations: 103.8 kB / 16.4 MB, free: 6.465 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.001149/0.001149, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.357/2.357, allocations: 469.4 MB / 0.7428 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001422, allocations: 63.91 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7585, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001772/0.7603, allocations: 0.6862 MB / 1.222 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.7621, allocations: 1.345 MB / 1.223 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.7622, allocations: 3.938 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.7626, allocations: 191.6 kB / 1.223 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.7627, allocations: 99.7 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.7635, allocations: 234.7 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.764, allocations: 499.6 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.7641, allocations: 8 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.7643, allocations: 195.8 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.7647, allocations: 215.5 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.7648, allocations: 20 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.765, allocations: 87.88 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.7654, allocations: 248.5 kB / 1.225 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.7656, allocations: 151.3 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.7661, allocations: 478.6 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7662, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7662, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.7662, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 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.001009/0.7672, allocations: 0.6364 MB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.7672, allocations: 12.62 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.7674, allocations: 32.64 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.7679, allocations: 388 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.768, allocations: 12.38 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.768, allocations: 20.38 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.7683, allocations: 196.7 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7683, allocations: 192 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.7684, allocations: 7.938 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7684, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.7686, allocations: 107.9 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.769, allocations: 387.1 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.7694, allocations: 319.6 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.7696, allocations: 122.6 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.7696, allocations: 4 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.77, allocations: 291.5 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.77, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0007665/0.7708, allocations: 0.4973 MB / 1.228 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.7709, allocations: 122.8 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.7713, allocations: 396.4 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.7714, allocations: 45.69 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.7715, allocations: 144.8 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.7716, allocations: 39.59 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.7717, allocations: 121.5 kB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7718, allocations: 338.8 kB / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.772, allocations: 95.95 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.7724, allocations: 471 kB / 1.23 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.7727, allocations: 249.5 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7727, allocations: 3.938 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004655/0.7732, allocations: 328.9 kB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7732, allocations: 11.94 kB / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7732, allocations: 4 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.7733, allocations: 4 kB / 1.23 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7734, allocations: 32.31 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7735, allocations: 12 kB / 1.23 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.7742, allocations: 76.16 kB / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.7742, allocations: 12 kB / 1.231 GB, free: 8.02 MB / 0.9512 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.0001959/0.7744, allocations: 192.5 kB / 1.231 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.7745, allocations: 35.56 kB / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.7745, allocations: 33.89 kB / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7745, allocations: 0 / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7745, allocations: 4 kB / 1.231 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7746, allocations: 3.984 kB / 1.231 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.7748, allocations: 281.5 kB / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7748, allocations: 0 / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.7748, allocations: 7.984 kB / 1.231 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7748, allocations: 3.938 kB / 1.231 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.7749, allocations: 8 kB / 1.231 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7749, allocations: 4 kB / 1.231 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7749, allocations: 4 kB / 1.231 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.7754, allocations: 432.3 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.7755, allocations: 104.9 kB / 1.232 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.7755, allocations: 11.94 kB / 1.232 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.7756, allocations: 3.984 kB / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.7757, allocations: 23.97 kB / 1.232 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.7757, allocations: 12 kB / 1.232 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002788/0.776, allocations: 291 kB / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.776, allocations: 0 / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003534/0.7763, allocations: 79.98 kB / 1.232 GB, free: 6.422 MB / 0.9512 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.0002127/0.7766, allocations: 140.3 kB / 1.232 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.777, allocations: 255.7 kB / 1.232 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.777, allocations: 4 kB / 1.232 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.7772, allocations: 171.9 kB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.7775, allocations: 28.58 kB / 1.233 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.7783, allocations: 0.6064 MB / 1.233 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.7787, allocations: 0.7597 MB / 1.234 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.7788, allocations: 31.42 kB / 1.234 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.7788, allocations: 0 / 1.234 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of Templates: time 0.006328/0.7851, allocations: 4.341 MB / 1.238 GB, free: 100 kB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time