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.002014/0.002014, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00271/0.00271, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.773 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.58/3.58, allocations: 0.5107 GB / 0.8158 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.002206/0.002206, allocations: 69.94 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4287, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001932/0.4307, allocations: 0.6687 MB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.4326, allocations: 1.351 MB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.4327, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.4332, allocations: 199.5 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.4333, allocations: 103.7 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.4341, allocations: 239.7 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.4347, allocations: 487.7 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.4347, allocations: 7.938 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.435, allocations: 207.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.4353, allocations: 227.5 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.4354, allocations: 20 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.4357, allocations: 99.91 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.4361, allocations: 271.4 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.4363, allocations: 131.5 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.4369, allocations: 482.5 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4369, allocations: 0 / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4369, allocations: 0 / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4369, allocations: 0 / 1.368 GB, free: 9.148 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.001087/0.438, allocations: 0.5708 MB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.438, allocations: 8.031 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.4382, allocations: 28.8 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.4388, allocations: 326.5 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4388, allocations: 12.38 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.4389, allocations: 32.3 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.4392, allocations: 188.6 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4392, allocations: 192 / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4392, allocations: 3.938 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4392, allocations: 4 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.4394, allocations: 111.9 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.4398, allocations: 274.9 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.4403, allocations: 307.6 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.4405, allocations: 126.6 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4405, allocations: 4 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.441, allocations: 287.9 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.441, allocations: 0 / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009187/0.4419, allocations: 0.4894 MB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.442, allocations: 122.7 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.4425, allocations: 400.5 kB / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.4425, allocations: 41.7 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4427, allocations: 152.8 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.4427, allocations: 35.75 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.4429, allocations: 121.6 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4431, allocations: 342.8 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4432, allocations: 79.95 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.4441, allocations: 1.092 MB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.4444, allocations: 265.6 kB / 1.373 GB, free: 3.223 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4444, allocations: 0 / 1.373 GB, free: 3.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005668/0.445, allocations: 329 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.445, allocations: 8 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4451, allocations: 4 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.4451, allocations: 11.88 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.4453, allocations: 31.92 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.4453, allocations: 11.98 kB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/0.446, allocations: 72.78 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.446, allocations: 12 kB / 1.374 GB, free: 2.746 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.0002849/0.4463, allocations: 195.7 kB / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4464, allocations: 27.94 kB / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.926e-05/0.4464, allocations: 37.83 kB / 1.374 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4465, allocations: 4 kB / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.4465, allocations: 8 kB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4465, allocations: 0 / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.4468, allocations: 205.2 kB / 1.374 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4468, allocations: 0 / 1.374 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.4468, allocations: 7.984 kB / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.4468, allocations: 0 / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.4468, allocations: 8 kB / 1.374 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.4468, allocations: 7.938 kB / 1.374 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4468, allocations: 0 / 1.374 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.4475, allocations: 430.5 kB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.4475, allocations: 31.73 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.4476, allocations: 12 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.4477, allocations: 3.938 kB / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.4477, allocations: 19.97 kB / 1.375 GB, free: 1.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.4477, allocations: 19.94 kB / 1.375 GB, free: 1.688 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000375/0.4481, allocations: 287 kB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4481, allocations: 0 / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004354/0.4486, allocations: 79.92 kB / 1.375 GB, free: 1.332 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.0003301/0.4489, allocations: 143 kB / 1.375 GB, free: 1.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005046/0.4494, allocations: 255.7 kB / 1.376 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4494, allocations: 0 / 1.376 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4496, allocations: 116 kB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.4499, allocations: 32.39 kB / 1.376 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4509, allocations: 0.5718 MB / 1.376 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4511, allocations: 161.1 kB / 1.376 GB, free: 12 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.4513, allocations: 52.55 kB / 1.376 GB, free: 15.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.4514, allocations: 31.42 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.4514, allocations: 4 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of Templates: time 0.01033/0.4617, allocations: 5.605 MB / 1.382 GB, free: 10.45 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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.16076178662479]