Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001333/0.001333, allocations: 79.66 kB / 19.76 MB, free: 1.867 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.001537/0.001537, allocations: 157.9 kB / 23.01 MB, free: 4.605 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.568/1.568, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.681/2.681, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 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.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_11_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_11_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.002128/0.002128, allocations: 71.83 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002416/0.3533, allocations: 0.6644 MB / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3557, allocations: 1.358 MB / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.3557, allocations: 0 / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.3563, allocations: 179.5 kB / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3564, allocations: 107.7 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.3573, allocations: 232 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007057/0.358, allocations: 491.8 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.3581, allocations: 7.984 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.3584, allocations: 203.6 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.3589, allocations: 231.5 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.359, allocations: 28 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.3594, allocations: 95.84 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.3598, allocations: 267.5 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.3601, allocations: 135.4 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.3608, allocations: 482.5 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3608, allocations: 4 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3608, allocations: 0 / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.3608, allocations: 0 / 1.122 GB, free: 14.1 MB / 1.076 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.001226/0.362, allocations: 0.5746 MB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3621, allocations: 16.03 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.3622, allocations: 32.75 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.3628, allocations: 326.5 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3628, allocations: 12.38 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.3629, allocations: 16.38 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.3632, allocations: 192.7 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3632, allocations: 192 / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.3633, allocations: 3.938 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3633, allocations: 0 / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3634, allocations: 111.9 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3638, allocations: 274.9 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.3643, allocations: 315.6 kB / 1.124 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3645, allocations: 122.6 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3645, allocations: 7.938 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/0.365, allocations: 280.8 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.365, allocations: 0 / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.000879/0.3659, allocations: 0.5055 MB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.3659, allocations: 114.8 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.3664, allocations: 396.5 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.3665, allocations: 37.7 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3666, allocations: 160.7 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.3667, allocations: 35.78 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.3669, allocations: 113.6 kB / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.367, allocations: 346.8 kB / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3671, allocations: 83.95 kB / 1.126 GB, free: 9.859 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.3681, allocations: 1.092 MB / 1.127 GB, free: 8.488 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.3684, allocations: 261.4 kB / 1.127 GB, free: 8.184 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3684, allocations: 4 kB / 1.127 GB, free: 8.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005375/0.3689, allocations: 329 kB / 1.127 GB, free: 7.852 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3689, allocations: 4 kB / 1.127 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.369, allocations: 4.406 kB / 1.127 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.369, allocations: 15.94 kB / 1.127 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3691, allocations: 27.92 kB / 1.127 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3692, allocations: 7.938 kB / 1.127 GB, free: 7.793 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/0.3699, allocations: 76.11 kB / 1.127 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3699, allocations: 11.98 kB / 1.127 GB, free: 7.707 MB / 1.076 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.0002229/0.3702, allocations: 192.6 kB / 1.128 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.3702, allocations: 31.8 kB / 1.128 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.3703, allocations: 37.89 kB / 1.128 GB, free: 7.441 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3703, allocations: 4 kB / 1.128 GB, free: 7.438 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3703, allocations: 0 / 1.128 GB, free: 7.438 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3703, allocations: 0 / 1.128 GB, free: 7.438 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3705, allocations: 205.2 kB / 1.128 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3705, allocations: 4 kB / 1.128 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.3705, allocations: 0 / 1.128 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3705, allocations: 4 kB / 1.128 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3706, allocations: 11.98 kB / 1.128 GB, free: 7.188 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3706, allocations: 15.88 kB / 1.128 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3706, allocations: 0 / 1.128 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.3712, allocations: 426.4 kB / 1.128 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.3712, allocations: 31.84 kB / 1.128 GB, free: 6.699 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3713, allocations: 0 / 1.128 GB, free: 6.699 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.3714, allocations: 7.938 kB / 1.128 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.3714, allocations: 23.97 kB / 1.128 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3714, allocations: 8 kB / 1.128 GB, free: 6.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003289/0.3718, allocations: 291 kB / 1.129 GB, free: 6.375 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3718, allocations: 0 / 1.129 GB, free: 6.375 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003941/0.3722, allocations: 75.92 kB / 1.129 GB, free: 6.301 MB / 1.076 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.0002287/0.3724, allocations: 147 kB / 1.129 GB, free: 6.148 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.3728, allocations: 251.6 kB / 1.129 GB, free: 5.902 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3728, allocations: 0 / 1.129 GB, free: 5.902 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.373, allocations: 124.7 kB / 1.129 GB, free: 5.781 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3733, allocations: 24.64 kB / 1.129 GB, free: 5.758 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.3743, allocations: 0.5762 MB / 1.13 GB, free: 5.148 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.3745, allocations: 153.2 kB / 1.13 GB, free: 4.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.3746, allocations: 58.05 kB / 1.13 GB, free: 4.922 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.3747, allocations: 32.48 kB / 1.13 GB, free: 4.891 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.3747, allocations: 0 / 1.13 GB, free: 4.891 MB / 1.076 GB Notification: Performance of Templates: time 0.6557/1.03, allocations: 5.42 MB / 1.135 GB, free: 57.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.073392694001086]