Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001842/0.001842, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00231/0.00231, allocations: 221.5 kB / 23.01 MB, free: 4.609 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.395/3.395, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,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.TimeTable") [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.0021/0.0021, allocations: 68.92 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001857/0.3656, allocations: 0.6959 MB / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3676, allocations: 1.381 MB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.3676, allocations: 0 / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.3681, allocations: 195.5 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3682, allocations: 103.7 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.369, allocations: 242.7 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.3696, allocations: 491.7 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.3696, allocations: 4 kB / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.3699, allocations: 207.6 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.3702, allocations: 227.6 kB / 1.358 GB, free: 4.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.3703, allocations: 24 kB / 1.358 GB, free: 4.426 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.3705, allocations: 99.91 kB / 1.358 GB, free: 4.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.3709, allocations: 279.9 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3711, allocations: 151.3 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.3717, allocations: 478.5 kB / 1.359 GB, free: 3.438 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3717, allocations: 4 kB / 1.359 GB, free: 3.434 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3717, allocations: 0 / 1.359 GB, free: 3.434 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3717, allocations: 0 / 1.359 GB, free: 3.434 MB / 1.045 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.0009958/0.3727, allocations: 0.567 MB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3727, allocations: 8.031 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.3728, allocations: 36.75 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.3734, allocations: 326.5 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3734, allocations: 12.38 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.3735, allocations: 24.36 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.3738, allocations: 192.6 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3738, allocations: 4.125 kB / 1.36 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3738, allocations: 11.94 kB / 1.36 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3738, allocations: 0 / 1.36 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.374, allocations: 111.9 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.3744, allocations: 358.1 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.3749, allocations: 311.6 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3751, allocations: 130.5 kB / 1.361 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.3751, allocations: 0 / 1.361 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.3755, allocations: 281.7 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.3755, allocations: 0 / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0008542/0.3764, allocations: 497.2 kB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.3765, allocations: 126.7 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.377, allocations: 404.5 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.377, allocations: 37.7 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3772, allocations: 156.8 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.3772, allocations: 31.75 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.3774, allocations: 121.6 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3775, allocations: 342.8 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3777, allocations: 79.95 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.3782, allocations: 471.6 kB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3785, allocations: 257.5 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3785, allocations: 4 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005144/0.379, allocations: 329 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3791, allocations: 7.938 kB / 1.364 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3791, allocations: 7.984 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3791, allocations: 8 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3793, allocations: 31.92 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3793, allocations: 4.625 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.38, allocations: 74.39 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.38, allocations: 23.88 kB / 1.364 GB, free: 13.72 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.0002366/0.3803, allocations: 191.7 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.3803, allocations: 31.75 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.3804, allocations: 33.89 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3804, allocations: 8 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3804, allocations: 7.922 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3804, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.3807, allocations: 252.6 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3807, allocations: 3.984 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.3807, allocations: 4 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3807, allocations: 3.938 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3807, allocations: 8 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.3807, allocations: 4 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3807, allocations: 3.984 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.3813, allocations: 440.9 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3813, allocations: 31.8 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.3814, allocations: 3.938 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.3815, allocations: 11.98 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3815, allocations: 11.98 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3816, allocations: 15.98 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003125/0.3819, allocations: 291 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3819, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003796/0.3822, allocations: 75.94 kB / 1.365 GB, free: 12.24 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.000234/0.3825, allocations: 143 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3829, allocations: 256.3 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3829, allocations: 7.938 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.3832, allocations: 147.8 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3834, allocations: 20.64 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3844, allocations: 0.6015 MB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3848, allocations: 0.7637 MB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.3849, allocations: 31.42 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3849, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of Templates: time 0.007103/0.392, allocations: 4.346 MB / 1.371 GB, free: 5.922 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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: 12.57177860601223]