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.0008517/0.0008517, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009895/0.0009895, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.91/0.91, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.767/1.767, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.815e-05, allocations: 5.234 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001291/0.001319, allocations: 0.6608 MB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.002733, allocations: 1.358 MB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.002791, allocations: 7.875 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.003196, allocations: 187.5 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.00327, allocations: 103.7 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.003753, allocations: 253.1 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.004101, allocations: 483.8 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.004142, allocations: 4 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.004357, allocations: 247.7 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.004623, allocations: 223.6 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.004673, allocations: 24 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.004841, allocations: 99.78 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.005087, allocations: 275.4 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.005187, allocations: 115.7 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.005641, allocations: 0.526 MB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005644, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/0.005645, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.005651, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 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.0006682/0.006319, allocations: 0.5708 MB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.006354, allocations: 8.75 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.006442, allocations: 32.8 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.006791, allocations: 329.7 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.006809, allocations: 16.38 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.006858, allocations: 20.38 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.007079, allocations: 196.6 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.007086, allocations: 192 / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.007099, allocations: 384 / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007104, allocations: 384 / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.007223, allocations: 119.8 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.007471, allocations: 263 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.0078, allocations: 319.6 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.007923, allocations: 122.6 kB / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.007931, allocations: 4 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.008255, allocations: 281.5 kB / 1.008 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 8.52e-07/0.008256, allocations: 7.938 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.0005693/0.008825, allocations: 0.4934 MB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.008888, allocations: 118.7 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.009201, allocations: 400.5 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.009341, allocations: 41.69 kB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.009437, allocations: 148.8 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.009475, allocations: 51.61 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.009579, allocations: 117.6 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.009678, allocations: 338.8 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.009769, allocations: 83.95 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.01029, allocations: 1.087 MB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.0105, allocations: 257.5 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.0105, allocations: 0 / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003786/0.01088, allocations: 329 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.01091, allocations: 8 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.01092, allocations: 416 / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01094, allocations: 12 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01109, allocations: 27.92 kB / 1.011 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.0111, allocations: 7.938 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.01148, allocations: 76.55 kB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.0115, allocations: 8 kB / 1.011 GB, free: 2.102 MB / 0.9636 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.000157/0.01165, allocations: 203.6 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.01168, allocations: 27.81 kB / 1.011 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.01173, allocations: 37.95 kB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01173, allocations: 4 kB / 1.011 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01174, allocations: 0 / 1.011 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01174, allocations: 7.875 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.0119, allocations: 201.2 kB / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.0119, allocations: 4 kB / 1.011 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.01191, allocations: 4 kB / 1.011 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01191, allocations: 4 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01193, allocations: 11.98 kB / 1.011 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01193, allocations: 0 / 1.011 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01193, allocations: 3.938 kB / 1.011 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.01231, allocations: 436.1 kB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.01234, allocations: 24.08 kB / 1.012 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01236, allocations: 4 kB / 1.012 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.01242, allocations: 4 kB / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.01246, allocations: 27.89 kB / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.01248, allocations: 12 kB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002045/0.01269, allocations: 291 kB / 1.012 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01269, allocations: 0 / 1.012 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00027/0.01296, allocations: 83.86 kB / 1.012 GB, free: 0.6797 MB / 0.9636 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.0001901/0.01315, allocations: 136.6 kB / 1.012 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.01344, allocations: 259.6 kB / 1.013 GB, free: 292 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01345, allocations: 4.75 kB / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.0136, allocations: 147.9 kB / 1.013 GB, free: 140 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01382, allocations: 28.64 kB / 1.013 GB, free: 112 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.01454, allocations: 0.6003 MB / 1.013 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.01466, allocations: 153.2 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.01472, allocations: 32.44 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of SimCode: time 1.113e-06/0.01472, allocations: 0 / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of Templates: time 0.004509/0.01923, allocations: 4.42 MB / 1.018 GB, free: 10.93 MB / 0.9792 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/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) [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: 7.238754043355584]