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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 113.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.114/3.114, allocations: 489.2 MB / 0.7687 GB, free: 3.84 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.9519, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001839/0.9538, allocations: 0.6912 MB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.9556, allocations: 1.351 MB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.9557, allocations: 1.656 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.9562, allocations: 187.5 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.9564, allocations: 99.58 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.9571, allocations: 233.6 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000632/0.9578, allocations: 496.9 kB / 1.266 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.9578, allocations: 5.422 kB / 1.266 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.9581, allocations: 206.8 kB / 1.266 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.9585, allocations: 208.2 kB / 1.266 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.9586, allocations: 21.41 kB / 1.266 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.9588, allocations: 81.64 kB / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.9593, allocations: 251.4 kB / 1.266 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.9595, allocations: 158 kB / 1.266 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.9602, allocations: 477.1 kB / 1.267 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9602, allocations: 0.7188 kB / 1.267 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9602, allocations: 4.5 kB / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.9602, allocations: 0 / 1.267 GB, free: 5.863 MB / 0.9981 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.001034/0.9613, allocations: 0.6517 MB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.9613, allocations: 9.312 kB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.9615, allocations: 31.66 kB / 1.268 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.962, allocations: 380.8 kB / 1.268 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.962, allocations: 13.75 kB / 1.268 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.9621, allocations: 21.3 kB / 1.268 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.9625, allocations: 194.4 kB / 1.268 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.9625, allocations: 5.812 kB / 1.268 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.9625, allocations: 8.75 kB / 1.268 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.9625, allocations: 2.969 kB / 1.268 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.9627, allocations: 107.2 kB / 1.268 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.9632, allocations: 383.2 kB / 1.269 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.9636, allocations: 319.8 kB / 1.269 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.9638, allocations: 127.3 kB / 1.269 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.9639, allocations: 2.297 kB / 1.269 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.9644, allocations: 289.5 kB / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.9644, allocations: 0 / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009447/0.9653, allocations: 0.499 MB / 1.27 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.9654, allocations: 113.7 kB / 1.27 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.9659, allocations: 396.1 kB / 1.27 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.966, allocations: 42.8 kB / 1.27 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.9661, allocations: 152.2 kB / 1.271 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.9662, allocations: 39.72 kB / 1.271 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.9664, allocations: 114.1 kB / 1.271 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.9664, allocations: 342.1 kB / 1.271 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.9666, allocations: 98.95 kB / 1.271 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.9671, allocations: 469 kB / 1.272 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.9674, allocations: 252.5 kB / 1.272 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9674, allocations: 1.625 kB / 1.272 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005244/0.9679, allocations: 330.5 kB / 1.272 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.968, allocations: 10.06 kB / 1.272 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.968, allocations: 4.719 kB / 1.272 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.968, allocations: 4.969 kB / 1.272 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.9682, allocations: 30.14 kB / 1.272 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.9682, allocations: 13.03 kB / 1.272 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.9689, allocations: 71.84 kB / 1.272 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.969, allocations: 10.91 kB / 1.272 GB, free: 2.562 MB / 0.9981 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.0002014/0.9692, allocations: 200 kB / 1.272 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.9692, allocations: 36.78 kB / 1.272 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.9693, allocations: 33.48 kB / 1.272 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.9693, allocations: 2.438 kB / 1.272 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.9693, allocations: 0.8125 kB / 1.272 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9693, allocations: 1.5 kB / 1.272 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.9696, allocations: 286.6 kB / 1.273 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9696, allocations: 0.9688 kB / 1.273 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.9696, allocations: 9.109 kB / 1.273 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9696, allocations: 6.062 kB / 1.273 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.9697, allocations: 10.92 kB / 1.273 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9697, allocations: 5.188 kB / 1.273 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9697, allocations: 1.75 kB / 1.273 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.9702, allocations: 430.7 kB / 1.273 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.9703, allocations: 102.1 kB / 1.273 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.9703, allocations: 13.53 kB / 1.273 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.9704, allocations: 2.25 kB / 1.273 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.9705, allocations: 23.62 kB / 1.273 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.9705, allocations: 11.41 kB / 1.273 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002793/0.9708, allocations: 292 kB / 1.274 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9708, allocations: 1.156 kB / 1.274 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004235/0.9712, allocations: 77.94 kB / 1.274 GB, free: 1.691 MB / 0.9981 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.0001993/0.9714, allocations: 141.6 kB / 1.274 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.9718, allocations: 257.6 kB / 1.274 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9719, allocations: 1.812 kB / 1.274 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.9721, allocations: 169.8 kB / 1.274 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.9724, allocations: 33.47 kB / 1.274 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.9733, allocations: 0.6157 MB / 1.275 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.9735, allocations: 0.7613 MB / 1.276 GB, free: 428 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.9736, allocations: 29.41 kB / 1.276 GB, free: 416 kB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.9736, allocations: 0 / 1.276 GB, free: 416 kB / 0.9981 GB Notification: Performance of Templates: time 0.00759/0.9812, allocations: 4.328 MB / 1.28 GB, free: 15.99 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 12.45400652801618]