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.001474/0.001474, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001607/0.001607, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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 3.135/3.135, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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.002147/0.002147, allocations: 69 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4021, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00336/0.4054, allocations: 0.6703 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.4086, allocations: 1.352 MB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.4087, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007918/0.4095, allocations: 191.5 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.4097, allocations: 99.73 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.4109, allocations: 240.4 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000893/0.4118, allocations: 487.7 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.4119, allocations: 7.984 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.4124, allocations: 207.7 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.413, allocations: 223.6 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.4132, allocations: 24 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.4136, allocations: 99.84 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005069/0.4141, allocations: 271.4 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.4144, allocations: 131.4 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008266/0.4152, allocations: 486.5 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4152, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4152, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.4153, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 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.001628/0.4169, allocations: 0.5708 MB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.417, allocations: 12.03 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.4172, allocations: 32.75 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007394/0.4179, allocations: 326.4 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4179, allocations: 12.38 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.418, allocations: 24.36 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.4184, allocations: 192.6 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4184, allocations: 192 / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.4184, allocations: 7.938 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4185, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.4187, allocations: 115.9 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.4192, allocations: 270.9 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.4197, allocations: 311.6 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.4199, allocations: 122.6 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.4199, allocations: 4 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/0.4205, allocations: 281.6 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/0.4205, allocations: 3.938 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.00103/0.4215, allocations: 0.5011 MB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4216, allocations: 106.8 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.4222, allocations: 400.5 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.4223, allocations: 37.7 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.4225, allocations: 156.7 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.4226, allocations: 35.8 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4228, allocations: 117.6 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.423, allocations: 338.8 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4231, allocations: 95.95 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4244, allocations: 1.085 MB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.4248, allocations: 253.5 kB / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4248, allocations: 0 / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006366/0.4254, allocations: 333.4 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.4255, allocations: 14.38 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4255, allocations: 4 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.4255, allocations: 7.938 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.4257, allocations: 27.92 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.4257, allocations: 11.92 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.4264, allocations: 83.25 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.4265, allocations: 12 kB / 1.293 GB, free: 1.105 MB / 0.9825 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.0002668/0.4267, allocations: 191.7 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.4268, allocations: 31.81 kB / 1.293 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.4269, allocations: 37.83 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4269, allocations: 7.938 kB / 1.293 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4269, allocations: 0 / 1.293 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4269, allocations: 4 kB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.4272, allocations: 201.2 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4272, allocations: 0 / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.4272, allocations: 11.98 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4272, allocations: 0 / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4272, allocations: 4 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4272, allocations: 3.938 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4272, allocations: 4 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.4279, allocations: 434.3 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.4279, allocations: 27.8 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.428, allocations: 4 kB / 1.294 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4281, allocations: 11.92 kB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.4281, allocations: 19.97 kB / 1.294 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.4282, allocations: 15.98 kB / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000395/0.4286, allocations: 295.1 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4286, allocations: 0 / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004285/0.429, allocations: 75.92 kB / 1.294 GB, free: 15.69 MB / 0.9981 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.0002962/0.4293, allocations: 131 kB / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.4298, allocations: 252.2 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4298, allocations: 4.25 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.43, allocations: 123.8 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4303, allocations: 24.64 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4315, allocations: 0.5752 MB / 1.295 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.4317, allocations: 153.1 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000159/0.4319, allocations: 58.05 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.432, allocations: 31.38 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.432, allocations: 0 / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.01201/0.444, allocations: 5.605 MB / 1.301 GB, free: 8.781 MB / 0.9981 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 -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: 10.013957124203444]