Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001331/0.001331, 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.001452/0.001452, allocations: 216.1 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.741/2.741, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002068/0.002068, allocations: 65.64 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3383, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00262/0.341, allocations: 0.6652 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.3433, allocations: 1.348 MB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.3434, allocations: 7.938 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.3439, allocations: 191.5 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.344, allocations: 99.73 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.3448, allocations: 243 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.3454, allocations: 487.8 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.3454, allocations: 7.984 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.3457, allocations: 203.6 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.346, allocations: 231.5 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.3461, allocations: 23.94 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.3464, allocations: 99.91 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.3468, allocations: 275.4 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.347, allocations: 127.5 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.3476, allocations: 482.4 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3476, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3476, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3476, allocations: 4 kB / 1.288 GB, free: 7.512 MB / 0.9825 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.001143/0.3487, allocations: 0.5767 MB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3488, allocations: 8.031 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3489, allocations: 40.75 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.3496, allocations: 326.5 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3496, allocations: 12.38 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.3497, allocations: 20.38 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.35, allocations: 184.6 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.35, allocations: 4.188 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.35, allocations: 7.922 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.35, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3502, allocations: 107.9 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3506, allocations: 274.9 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.3511, allocations: 315.6 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.3513, allocations: 122.6 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3513, allocations: 3.984 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.3518, allocations: 277.6 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3518, allocations: 0 / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008802/0.3527, allocations: 0.4972 MB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.3528, allocations: 118.8 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.3533, allocations: 392.5 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.3534, allocations: 37.7 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3535, allocations: 160.7 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.3536, allocations: 39.78 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3538, allocations: 109.6 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.354, allocations: 350.7 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3541, allocations: 91.89 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009806/0.3551, allocations: 1.081 MB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.3554, allocations: 257.5 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3554, allocations: 11.94 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005638/0.356, allocations: 329.2 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.356, allocations: 4 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.356, allocations: 7.984 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.3561, allocations: 16.33 kB / 1.294 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3562, allocations: 31.92 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3563, allocations: 4 kB / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.357, allocations: 64.44 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.357, allocations: 15.98 kB / 1.294 GB, free: 1.125 MB / 0.9825 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.0002605/0.3572, allocations: 195.7 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.3573, allocations: 31.8 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.3574, allocations: 37.83 kB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3574, allocations: 4 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3574, allocations: 0 / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3574, allocations: 128 / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3576, allocations: 205.2 kB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3576, allocations: 0 / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.3577, allocations: 7.938 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3577, allocations: 4 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3577, allocations: 11.98 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3577, allocations: 7.938 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3577, allocations: 0 / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.3583, allocations: 432.8 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3584, allocations: 35.73 kB / 1.295 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3584, allocations: 3.984 kB / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.3585, allocations: 11.88 kB / 1.295 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.3586, allocations: 19.97 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.3586, allocations: 12 kB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003539/0.3589, allocations: 287 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3589, allocations: 0 / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003793/0.3593, allocations: 75.94 kB / 1.295 GB, free: 15.71 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.0002425/0.3596, allocations: 147.1 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.36, allocations: 243.7 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.36, allocations: 0 / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.3603, allocations: 152.7 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3605, allocations: 24.64 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3615, allocations: 0.617 MB / 1.296 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3617, allocations: 153.2 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.3618, allocations: 27.44 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3618, allocations: 0 / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.007631/0.3694, allocations: 4.409 MB / 1.301 GB, free: 9.945 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.863722392357886]