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.002051/0.002051, 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.002527/0.002527, allocations: 209.3 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.781 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.605/3.605, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.00218/0.00218, allocations: 69.48 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4481, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002003/0.4501, allocations: 0.6717 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.452, allocations: 1.351 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.4521, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.4526, allocations: 199.5 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.4527, allocations: 95.72 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.4535, allocations: 251.6 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.4541, allocations: 483.7 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.4542, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.4544, allocations: 211.7 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.4548, allocations: 219.6 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.4549, allocations: 20 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.4551, allocations: 99.89 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.4555, allocations: 275.4 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.4557, allocations: 135.4 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.4563, allocations: 482.5 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4563, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4563, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4563, allocations: 0 / 1.368 GB, free: 9.16 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.001214/0.4575, allocations: 0.5709 MB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4575, allocations: 8.031 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.4577, allocations: 28.8 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.4583, allocations: 326.5 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.4584, allocations: 16.31 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.4584, allocations: 20.38 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.4588, allocations: 192.7 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4588, allocations: 192 / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4588, allocations: 3.938 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4588, allocations: 4 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.459, allocations: 107.9 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.4594, allocations: 278.9 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.46, allocations: 315.6 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.4602, allocations: 126.6 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4602, allocations: 0 / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.4607, allocations: 284.3 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.4607, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009904/0.4617, allocations: 0.4972 MB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4618, allocations: 122.7 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.4623, allocations: 392.5 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.772e-05/0.4624, allocations: 45.69 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.4626, allocations: 144.8 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.4626, allocations: 43.73 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4628, allocations: 117.6 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.463, allocations: 346.8 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.4632, allocations: 79.95 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.4644, allocations: 1.096 MB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.4648, allocations: 257.4 kB / 1.373 GB, free: 3.238 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4648, allocations: 4 kB / 1.373 GB, free: 3.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005932/0.4654, allocations: 325 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4654, allocations: 8.406 kB / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.4655, allocations: 8 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.4655, allocations: 7.938 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.4657, allocations: 31.92 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.4657, allocations: 8 kB / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.4664, allocations: 68.78 kB / 1.374 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.4664, allocations: 16 kB / 1.374 GB, free: 2.766 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.0002549/0.4666, allocations: 199.7 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.4667, allocations: 27.81 kB / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.696e-05/0.4668, allocations: 37.83 kB / 1.374 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4668, allocations: 0 / 1.374 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4668, allocations: 4 kB / 1.374 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4668, allocations: 3.938 kB / 1.374 GB, free: 2.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.4671, allocations: 205.2 kB / 1.374 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4671, allocations: 0 / 1.374 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.4671, allocations: 4 kB / 1.374 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.4671, allocations: 7.984 kB / 1.374 GB, free: 2.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.4671, allocations: 4 kB / 1.374 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.4671, allocations: 7.938 kB / 1.374 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4671, allocations: 0 / 1.374 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.4677, allocations: 434.4 kB / 1.375 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.4678, allocations: 31.73 kB / 1.375 GB, free: 1.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.4679, allocations: 12 kB / 1.375 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.4679, allocations: 3.938 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.468, allocations: 19.97 kB / 1.375 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.468, allocations: 12 kB / 1.375 GB, free: 1.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003493/0.4684, allocations: 295 kB / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4684, allocations: 4 kB / 1.375 GB, free: 1.422 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003917/0.4688, allocations: 79.92 kB / 1.375 GB, free: 1.344 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.0002746/0.469, allocations: 143 kB / 1.375 GB, free: 1.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.4695, allocations: 248.4 kB / 1.376 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4695, allocations: 0 / 1.376 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.4697, allocations: 123.9 kB / 1.376 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.47, allocations: 28.64 kB / 1.376 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.471, allocations: 0.5686 MB / 1.376 GB, free: 200 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.4712, allocations: 157.2 kB / 1.376 GB, free: 28 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.4713, allocations: 54.06 kB / 1.376 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.4714, allocations: 27.42 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.4714, allocations: 0 / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of Templates: time 0.01139/0.4828, allocations: 5.603 MB / 1.382 GB, free: 10.43 MB / 1.076 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/jenkins/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: 10.155357399955392]