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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 202.9 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002124/0.002124, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001944/1.069, allocations: 0.6899 MB / 1.275 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002144/1.071, allocations: 1.359 MB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/1.071, allocations: 3.938 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005178/1.071, allocations: 187.6 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/1.072, allocations: 103.7 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/1.072, allocations: 234.7 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006284/1.073, allocations: 499.6 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/1.073, allocations: 0 / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/1.073, allocations: 211.7 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/1.074, allocations: 223.6 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/1.074, allocations: 24 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/1.074, allocations: 87.88 kB / 1.278 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004054/1.074, allocations: 275.4 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/1.075, allocations: 151.3 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006882/1.075, allocations: 473.2 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.075, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/1.075, allocations: 4 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.075, allocations: 0 / 1.278 GB, free: 92 kB / 0.9669 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.001121/1.076, allocations: 0.654 MB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.076, allocations: 12.02 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/1.077, allocations: 28.8 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/1.077, allocations: 392.2 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.077, allocations: 12.38 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/1.077, allocations: 24.38 kB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/1.078, allocations: 184.7 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.078, allocations: 192 / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/1.078, allocations: 7.938 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/1.078, allocations: 4 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/1.078, allocations: 107.9 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/1.078, allocations: 387.1 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/1.079, allocations: 311.6 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/1.079, allocations: 126.5 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/1.079, allocations: 11.88 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/1.08, allocations: 279.2 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/1.08, allocations: 4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009611/1.081, allocations: 0.5011 MB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.081, allocations: 114.8 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/1.081, allocations: 400.5 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.842e-05/1.081, allocations: 33.7 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/1.082, allocations: 160.8 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/1.082, allocations: 35.75 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/1.082, allocations: 121.6 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002066/1.082, allocations: 342.8 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/1.082, allocations: 87.95 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/1.083, allocations: 468.5 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/1.083, allocations: 257.5 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.083, allocations: 0 / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005506/1.084, allocations: 325.1 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.084, allocations: 12.34 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.084, allocations: 11.98 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.084, allocations: 4 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/1.084, allocations: 31.92 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.084, allocations: 7.938 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/1.085, allocations: 63.95 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/1.085, allocations: 16 kB / 1.284 GB, free: 10.18 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.0003094/1.085, allocations: 195.9 kB / 1.284 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/1.085, allocations: 35.75 kB / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/1.085, allocations: 29.89 kB / 1.284 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.085, allocations: 4.234 kB / 1.284 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.085, allocations: 3.984 kB / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.085, allocations: 7.984 kB / 1.284 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/1.086, allocations: 285.4 kB / 1.284 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.086, allocations: 0 / 1.284 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/1.086, allocations: 4 kB / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.086, allocations: 15.88 kB / 1.284 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.086, allocations: 4 kB / 1.284 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.086, allocations: 3.938 kB / 1.284 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.086, allocations: 8.609 kB / 1.284 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/1.086, allocations: 432.3 kB / 1.285 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.086, allocations: 104.9 kB / 1.285 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/1.087, allocations: 11.94 kB / 1.285 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/1.087, allocations: 3.984 kB / 1.285 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.087, allocations: 19.98 kB / 1.285 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/1.087, allocations: 12 kB / 1.285 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004923/1.087, allocations: 287 kB / 1.285 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/1.087, allocations: 0 / 1.285 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003983/1.088, allocations: 79.92 kB / 1.285 GB, free: 8.566 MB / 0.9825 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.0002891/1.088, allocations: 143.6 kB / 1.285 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004735/1.088, allocations: 247.7 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.088, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/1.089, allocations: 131.8 kB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.089, allocations: 21.45 kB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/1.09, allocations: 0.5761 MB / 1.286 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/1.09, allocations: 0.7636 MB / 1.287 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001161/1.09, allocations: 45.95 kB / 1.287 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/1.091, allocations: 31.42 kB / 1.287 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/1.091, allocations: 4 kB / 1.287 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of Templates: time 0.01027/1.101, allocations: 5.07 MB / 1.292 GB, free: 1.52 MB / 0.9825 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 cvode -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_2/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.741545425727963]