Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001309/0.001309, allocations: 110.5 kB / 19.69 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.001515/0.001515, allocations: 212.8 kB / 23.01 MB, free: 4.566 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7958 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002146/0.002146, allocations: 64.19 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002302/0.3718, allocations: 0.6952 MB / 1.328 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.374, allocations: 1.377 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.3741, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.3746, allocations: 199.5 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3747, allocations: 99.72 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.3755, allocations: 239.4 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.3761, allocations: 0.4918 MB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.3761, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.3764, allocations: 211.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.3767, allocations: 227.5 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.3768, allocations: 20 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.377, allocations: 103.8 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.3774, allocations: 271.5 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3776, allocations: 151.3 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.3782, allocations: 486.4 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3782, allocations: 4 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3782, allocations: 4 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3782, allocations: 0 / 1.332 GB, free: 12.91 MB / 1.029 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.001009/0.3792, allocations: 0.5631 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3792, allocations: 8.031 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3794, allocations: 40.69 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.3799, allocations: 318.5 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.38, allocations: 12.38 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.38, allocations: 20.38 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.3804, allocations: 200.6 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3804, allocations: 192 / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3804, allocations: 7.938 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3804, allocations: 0 / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.3806, allocations: 111.8 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.381, allocations: 358.2 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.3815, allocations: 311.6 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3817, allocations: 126.6 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3817, allocations: 4 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.3822, allocations: 283.5 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.3822, allocations: 4 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008557/0.383, allocations: 0.4894 MB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.3831, allocations: 118.8 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.3836, allocations: 396.5 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.3837, allocations: 41.69 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3838, allocations: 152.7 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3838, allocations: 39.72 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.384, allocations: 117.6 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3842, allocations: 350.8 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3843, allocations: 79.95 kB / 1.336 GB, free: 8.574 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.3849, allocations: 467 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.3852, allocations: 253.5 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3852, allocations: 4 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005358/0.3858, allocations: 333 kB / 1.337 GB, free: 7.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3858, allocations: 7.938 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3858, allocations: 4.406 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3858, allocations: 12 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.386, allocations: 31.92 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.386, allocations: 7.984 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.3867, allocations: 66.2 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3867, allocations: 19.98 kB / 1.337 GB, free: 7.215 MB / 1.029 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.0002277/0.387, allocations: 196.3 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.387, allocations: 31.75 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.3871, allocations: 33.89 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3871, allocations: 4 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3871, allocations: 0 / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3871, allocations: 4.219 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3874, allocations: 252.6 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3874, allocations: 0 / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.3874, allocations: 11.92 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.3874, allocations: 11.92 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3874, allocations: 4 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3874, allocations: 4 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3874, allocations: 0 / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.388, allocations: 434.4 kB / 1.338 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.3881, allocations: 35.78 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.3881, allocations: 7.938 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3882, allocations: 12 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3883, allocations: 19.95 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.3883, allocations: 12 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003278/0.3886, allocations: 287 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000378/0.389, allocations: 79.92 kB / 1.338 GB, free: 5.734 MB / 1.029 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.0002434/0.3893, allocations: 144.9 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3897, allocations: 251.7 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3897, allocations: 3.938 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.39, allocations: 151.8 kB / 1.339 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3902, allocations: 23.36 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3912, allocations: 0.617 MB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3917, allocations: 0.7597 MB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.3918, allocations: 31.42 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3918, allocations: 0 / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of Templates: time 0.008095/0.3999, allocations: 4.339 MB / 1.344 GB, free: 15.41 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.891430491989013]