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.001903/0.001903, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.002284/0.002284, allocations: 165.3 kB / 22.46 MB, free: 5.355 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.715/1.715, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.878/2.878, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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 3.276e-06/3.276e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.179e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00208/0.002112, allocations: 0.6667 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.004566, allocations: 1.358 MB / 0.953 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.004665, allocations: 7.938 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.005223, allocations: 187.4 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.005406, allocations: 107.7 kB / 0.9533 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.006326, allocations: 242.3 kB / 0.9535 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007315/0.007058, allocations: 491.7 kB / 0.954 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.007105, allocations: 4 kB / 0.954 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.007636, allocations: 247.7 kB / 0.9542 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.008105, allocations: 223.6 kB / 0.9544 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.008276, allocations: 20 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.008577, allocations: 99.78 kB / 0.9545 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004649/0.009042, allocations: 275.4 kB / 0.9548 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.009278, allocations: 115.8 kB / 0.9549 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.01008, allocations: 0.5299 MB / 0.9554 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01009, allocations: 0 / 0.9554 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01009, allocations: 0 / 0.9554 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.01011, allocations: 0 / 0.9554 GB, free: 7.031 MB / 0.8575 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.00132/0.01143, allocations: 0.5669 MB / 0.956 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.01147, allocations: 8.031 kB / 0.956 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.01165, allocations: 40.69 kB / 0.956 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.01233, allocations: 329.7 kB / 0.9563 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.01236, allocations: 12.38 kB / 0.9563 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.01244, allocations: 24.38 kB / 0.9564 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.01278, allocations: 188.7 kB / 0.9565 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01279, allocations: 192 / 0.9565 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.01281, allocations: 4.375 kB / 0.9565 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.01282, allocations: 384 / 0.9565 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.01301, allocations: 111.8 kB / 0.9567 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.01345, allocations: 263 kB / 0.9569 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.01396, allocations: 315.6 kB / 0.9572 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.01415, allocations: 126.6 kB / 0.9573 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.01416, allocations: 4 kB / 0.9573 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.01465, allocations: 277.6 kB / 0.9576 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.01466, allocations: 4 kB / 0.9576 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009571/0.01561, allocations: 497.8 kB / 0.9581 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.01571, allocations: 118.7 kB / 0.9582 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.01622, allocations: 400.4 kB / 0.9586 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.0163, allocations: 45.69 kB / 0.9586 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.01647, allocations: 156.8 kB / 0.9588 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.01652, allocations: 43.69 kB / 0.9588 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.01671, allocations: 113.6 kB / 0.9589 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.0169, allocations: 350.8 kB / 0.9592 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.01704, allocations: 83.95 kB / 0.9593 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.01799, allocations: 1.084 MB / 0.9604 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.01834, allocations: 261.7 kB / 0.9606 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.01835, allocations: 11.88 kB / 0.9606 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005487/0.01889, allocations: 329.1 kB / 0.961 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01891, allocations: 4 kB / 0.961 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01892, allocations: 4 kB / 0.961 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01894, allocations: 4 kB / 0.961 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.01909, allocations: 31.92 kB / 0.961 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.01911, allocations: 11.88 kB / 0.961 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.0199, allocations: 72.41 kB / 0.9611 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.01992, allocations: 16 kB / 0.9611 GB, free: 0.6406 MB / 0.8575 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.0002387/0.02016, allocations: 195.6 kB / 0.9613 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.02022, allocations: 31.81 kB / 0.9613 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.02028, allocations: 33.95 kB / 0.9613 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.02029, allocations: 4 kB / 0.9613 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.02029, allocations: 0 / 0.9613 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.0203, allocations: 7.938 kB / 0.9614 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.02055, allocations: 205.2 kB / 0.9616 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.02056, allocations: 4 kB / 0.9616 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.02057, allocations: 4 kB / 0.9616 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.02058, allocations: 4 kB / 0.9616 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.0206, allocations: 7.984 kB / 0.9616 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.0206, allocations: 0 / 0.9616 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0206, allocations: 0 / 0.9616 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.02124, allocations: 434.4 kB / 0.962 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.02129, allocations: 31.78 kB / 0.962 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.02132, allocations: 4 kB / 0.962 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.02142, allocations: 8 kB / 0.962 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.02148, allocations: 19.91 kB / 0.962 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.02152, allocations: 16 kB / 0.9621 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003471/0.02187, allocations: 287 kB / 0.9623 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02187, allocations: 0 / 0.9623 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000396/0.02226, allocations: 83.86 kB / 0.9624 GB, free: 15.22 MB / 0.8731 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.0002763/0.02254, allocations: 141.5 kB / 0.9625 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.02301, allocations: 263.7 kB / 0.9628 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02302, allocations: 0 / 0.9628 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.02321, allocations: 119.9 kB / 0.9629 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.02347, allocations: 24.64 kB / 0.9629 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.02444, allocations: 0.5555 MB / 0.9635 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.02462, allocations: 165.9 kB / 0.9636 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.02474, allocations: 41.95 kB / 0.9637 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.02482, allocations: 32.48 kB / 0.9637 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.02482, allocations: 3.938 kB / 0.9637 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.0106/0.03542, allocations: 5.399 MB / 0.969 GB, free: 8.547 MB / 0.8731 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: 8.572097480297089]