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.001066/0.001066, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.001213/0.001213, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8981/0.8981, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.707/1.707, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.982e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001097/0.001117, allocations: 0.6646 MB / 0.9524 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.002485, allocations: 1.354 MB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.00254, allocations: 3.938 kB / 0.9537 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.002933, allocations: 191.4 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.003004, allocations: 103.7 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.003449, allocations: 238.7 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.003789, allocations: 491.7 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.003827, allocations: 4 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.004013, allocations: 251.7 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.004252, allocations: 227.6 kB / 0.9552 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.004297, allocations: 24 kB / 0.9552 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.004453, allocations: 91.84 kB / 0.9553 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.004674, allocations: 275.4 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.004767, allocations: 111.8 kB / 0.9556 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.005178, allocations: 0.5338 MB / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00518, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005181, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005185, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 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.0006742/0.005859, allocations: 0.5724 MB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.005893, allocations: 16.03 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.005982, allocations: 28.8 kB / 0.9568 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.006331, allocations: 329.7 kB / 0.9571 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.006345, allocations: 12.38 kB / 0.9571 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.006387, allocations: 20.38 kB / 0.9571 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.006598, allocations: 192.7 kB / 0.9573 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.006606, allocations: 192 / 0.9573 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.006619, allocations: 384 / 0.9573 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006623, allocations: 384 / 0.9573 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.006742, allocations: 115.8 kB / 0.9574 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.006984, allocations: 267 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.007295, allocations: 319.6 kB / 0.958 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.007412, allocations: 126.5 kB / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.007422, allocations: 4 kB / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.007691, allocations: 276.1 kB / 0.9583 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.007692, allocations: 0 / 0.9583 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0005558/0.008248, allocations: 0.4972 MB / 0.9588 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.008308, allocations: 114.8 kB / 0.9589 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.008584, allocations: 404.4 kB / 0.9593 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.008624, allocations: 41.7 kB / 0.9594 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.008719, allocations: 152.8 kB / 0.9595 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.00875, allocations: 43.69 kB / 0.9596 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.008849, allocations: 113.6 kB / 0.9597 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.00901, allocations: 342.8 kB / 0.96 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.009094, allocations: 91.89 kB / 0.9601 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.009584, allocations: 1.095 MB / 0.9611 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.009778, allocations: 257.4 kB / 0.9614 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.009781, allocations: 7.938 kB / 0.9614 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003149/0.0101, allocations: 325.1 kB / 0.9617 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01011, allocations: 8 kB / 0.9617 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01012, allocations: 4 kB / 0.9617 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01013, allocations: 4.406 kB / 0.9617 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01023, allocations: 31.92 kB / 0.9618 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.01024, allocations: 7.938 kB / 0.9618 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.0106, allocations: 75.66 kB / 0.9618 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01061, allocations: 11.98 kB / 0.9618 GB, free: 8.047 MB / 0.9167 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.0001314/0.01074, allocations: 195.7 kB / 0.962 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.01077, allocations: 39.81 kB / 0.9621 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.01081, allocations: 37.95 kB / 0.9621 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01082, allocations: 240 / 0.9621 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01082, allocations: 0 / 0.9621 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.01083, allocations: 11.92 kB / 0.9621 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.01096, allocations: 201.2 kB / 0.9623 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01097, allocations: 0 / 0.9623 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.01097, allocations: 8 kB / 0.9623 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.01098, allocations: 0 / 0.9623 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01099, allocations: 7.984 kB / 0.9623 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.01099, allocations: 0 / 0.9623 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01099, allocations: 8 kB / 0.9623 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.01135, allocations: 430.4 kB / 0.9627 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01138, allocations: 27.78 kB / 0.9628 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.0114, allocations: 8 kB / 0.9628 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.01145, allocations: 0 / 0.9628 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.01148, allocations: 23.91 kB / 0.9628 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.0115, allocations: 12 kB / 0.9628 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001924/0.01169, allocations: 291 kB / 0.9631 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.0117, allocations: 0 / 0.9631 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002425/0.01194, allocations: 83.86 kB / 0.9632 GB, free: 6.633 MB / 0.9167 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.0001516/0.01209, allocations: 139 kB / 0.9633 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.01238, allocations: 255.6 kB / 0.9635 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01238, allocations: 0 / 0.9635 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.01253, allocations: 147.9 kB / 0.9637 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.01271, allocations: 32.05 kB / 0.9637 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01332, allocations: 0.6079 MB / 0.9643 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.951e-05/0.01342, allocations: 153.2 kB / 0.9645 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.01347, allocations: 28.5 kB / 0.9645 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.01347, allocations: 0 / 0.9645 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of Templates: time 0.004134/0.01761, allocations: 4.405 MB / 0.9688 GB, free: 0.8789 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.028563431464136]