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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 214.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.249/3.249, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 66.36 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3505, allocations: 181.8 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001942/0.3524, allocations: 0.6726 MB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3545, allocations: 1.347 MB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.3545, allocations: 4 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.355, allocations: 199.5 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.3552, allocations: 91.73 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.356, allocations: 248.7 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.3566, allocations: 483.7 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.3566, allocations: 3.984 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.357, allocations: 211.7 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.3574, allocations: 227.5 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3575, allocations: 20 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.3578, allocations: 99.84 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.3582, allocations: 271.5 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.3584, allocations: 131.4 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.359, allocations: 482.5 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.359, allocations: 0 / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.359, allocations: 0 / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.359, allocations: 0 / 1.369 GB, free: 9.152 MB / 1.061 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.001206/0.3602, allocations: 0.5724 MB / 1.37 GB, free: 8.547 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3602, allocations: 8.031 kB / 1.37 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.3604, allocations: 32.8 kB / 1.37 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.361, allocations: 326.4 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.361, allocations: 12.38 kB / 1.37 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.3611, allocations: 24.36 kB / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3614, allocations: 188.7 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3614, allocations: 192 / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.3615, allocations: 7.938 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3615, allocations: 0 / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3617, allocations: 115.9 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3621, allocations: 274.9 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.3626, allocations: 315.6 kB / 1.371 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.3627, allocations: 122.6 kB / 1.371 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3628, allocations: 3.938 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.3632, allocations: 287.1 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.3632, allocations: 0 / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0008822/0.3641, allocations: 0.5011 MB / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3642, allocations: 110.8 kB / 1.372 GB, free: 6.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.3647, allocations: 396.5 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.015e-05/0.3648, allocations: 41.7 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.3649, allocations: 148.8 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.365, allocations: 39.75 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3651, allocations: 117.6 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3653, allocations: 342.8 kB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3654, allocations: 87.95 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.3664, allocations: 1.093 MB / 1.374 GB, free: 3.531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3667, allocations: 257.4 kB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3667, allocations: 0 / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005481/0.3673, allocations: 325.5 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3673, allocations: 12.03 kB / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3673, allocations: 4 kB / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3673, allocations: 7.938 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.3675, allocations: 31.92 kB / 1.375 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3675, allocations: 15.92 kB / 1.375 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.3682, allocations: 72.48 kB / 1.375 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.3682, allocations: 16.23 kB / 1.375 GB, free: 2.75 MB / 1.061 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.000227/0.3685, allocations: 203.7 kB / 1.375 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3685, allocations: 27.81 kB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.3686, allocations: 37.83 kB / 1.375 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3686, allocations: 4 kB / 1.375 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3686, allocations: 0 / 1.375 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3686, allocations: 0 / 1.375 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.3688, allocations: 205.2 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3688, allocations: 0 / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.3689, allocations: 7.984 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3689, allocations: 4 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3689, allocations: 4 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3689, allocations: 7.938 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3689, allocations: 0 / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.3695, allocations: 441.1 kB / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.3695, allocations: 27.75 kB / 1.376 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3696, allocations: 4 kB / 1.376 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.3697, allocations: 11.92 kB / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3697, allocations: 15.98 kB / 1.376 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.3698, allocations: 15.98 kB / 1.376 GB, free: 1.695 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003375/0.3701, allocations: 291 kB / 1.376 GB, free: 1.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 4 kB / 1.376 GB, free: 1.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003865/0.3705, allocations: 75.94 kB / 1.376 GB, free: 1.336 MB / 1.061 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.0002365/0.3707, allocations: 145.1 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.3712, allocations: 248.4 kB / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3712, allocations: 0 / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3714, allocations: 159.9 kB / 1.377 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3717, allocations: 32.83 kB / 1.377 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3727, allocations: 0.6015 MB / 1.377 GB, free: 112 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.3729, allocations: 153.2 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.373, allocations: 31.42 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.373, allocations: 0 / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of Templates: time 0.007935/0.3809, allocations: 4.412 MB / 1.382 GB, free: 11.58 MB / 1.076 GB " [Timeout remaining time 300] 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/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.079873406793922]