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.001078/0.001078, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002486, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007716/0.0007716, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008781/0.00165, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08401/1.094, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.825/1.825, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5406/2.365, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.38e-05, allocations: 6.312 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00158/0.001604, allocations: 0.7237 MB / 0.73 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.002979, allocations: 1.375 MB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.003033, allocations: 3.938 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.003416, allocations: 217.8 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003517, allocations: 115.1 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.004084, allocations: 246.9 kB / 0.7319 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.004633, allocations: 0.4924 MB / 0.7324 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.004689, allocations: 3.984 kB / 0.7324 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.005049, allocations: 280.2 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.00535, allocations: 160.2 kB / 0.7328 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.005411, allocations: 20 kB / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.00565, allocations: 100.9 kB / 0.7329 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.005825, allocations: 147.7 kB / 0.7331 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.005916, allocations: 64.59 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.006286, allocations: 346.9 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.006301, allocations: 0.5312 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of FrontEnd: time 3.988e-06/0.006305, allocations: 3.984 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.34e-05/0.006329, allocations: 0.9375 kB / 0.7335 GB, free: 336 kB / 0.698 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.0007851/0.007114, allocations: 0.5733 MB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.00715, allocations: 8.906 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.00722, allocations: 24.91 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.007555, allocations: 247.3 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.00758, allocations: 16.36 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.007625, allocations: 20.38 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.007803, allocations: 115.5 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.00781, allocations: 0.8438 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.007825, allocations: 8.359 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00783, allocations: 1.938 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.007884, allocations: 40.41 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.008062, allocations: 131.1 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.008243, allocations: 138.9 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.008304, allocations: 46.62 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.008309, allocations: 5.188 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.008554, allocations: 219.9 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.008555, allocations: 4.562 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0002915/0.008847, allocations: 198 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.008918, allocations: 107.5 kB / 0.7353 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.009111, allocations: 278.9 kB / 0.7356 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.009154, allocations: 35.45 kB / 0.7356 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.009238, allocations: 125.4 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.009283, allocations: 39.73 kB / 0.7358 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.00939, allocations: 93.58 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.009492, allocations: 347.3 kB / 0.7362 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.009757, allocations: 46.73 kB / 0.7362 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.01023, allocations: 0.9322 MB / 0.7372 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01041, allocations: 204.7 kB / 0.7373 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01041, allocations: 1.031 kB / 0.7374 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002279/0.01064, allocations: 208 kB / 0.7375 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01066, allocations: 8 kB / 0.7376 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01067, allocations: 5.219 kB / 0.7376 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01068, allocations: 4 kB / 0.7376 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01084, allocations: 51.91 kB / 0.7376 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01085, allocations: 4.75 kB / 0.7376 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.01111, allocations: 61.44 kB / 0.7377 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.01113, allocations: 15.94 kB / 0.7377 GB, free: 11.46 MB / 0.7136 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.000137/0.01127, allocations: 144.3 kB / 0.7378 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.0113, allocations: 27.97 kB / 0.7379 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.01134, allocations: 27.14 kB / 0.7379 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01135, allocations: 4 kB / 0.7379 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01135, allocations: 0 / 0.7379 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01135, allocations: 1.031 kB / 0.7379 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01149, allocations: 141.6 kB / 0.738 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01149, allocations: 0 / 0.738 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.0115, allocations: 4.938 kB / 0.738 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01153, allocations: 23.84 kB / 0.7381 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01153, allocations: 1.062 kB / 0.7381 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01154, allocations: 4 kB / 0.7381 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01155, allocations: 4 kB / 0.7381 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01155, allocations: 2.75 kB / 0.7381 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.01175, allocations: 197.9 kB / 0.7383 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01177, allocations: 8 kB / 0.7383 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.01181, allocations: 7.984 kB / 0.7383 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.01185, allocations: 15.98 kB / 0.7383 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.01186, allocations: 11.98 kB / 0.7383 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.312e-05/0.01195, allocations: 108.6 kB / 0.7384 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01195, allocations: 2.594 kB / 0.7384 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002401/0.01219, allocations: 71.94 kB / 0.7385 GB, free: 10.62 MB / 0.7136 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.0001703/0.01236, allocations: 133.6 kB / 0.7386 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.01255, allocations: 150.6 kB / 0.7387 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.01256, allocations: 4 kB / 0.7387 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.01262, allocations: 61.33 kB / 0.7388 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.01278, allocations: 49.41 kB / 0.7388 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.01349, allocations: 476.4 kB / 0.7393 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/0.01354, allocations: 88.31 kB / 0.7394 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.814e-05/0.01361, allocations: 36.55 kB / 0.7394 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.01376, allocations: 119.3 kB / 0.7395 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/0.01376, allocations: 0 / 0.7395 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.007491/0.02125, allocations: 6.127 MB / 0.7455 GB, free: 3.559 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.075982558541]