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.001629/0.001629, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001799/0.001799, allocations: 213.1 kB / 23.04 MB, free: 4.867 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",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.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_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.002034/0.002034, allocations: 68.78 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001851/0.3225, allocations: 0.6719 MB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3244, allocations: 1.35 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.3244, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.3249, allocations: 199.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.325, allocations: 95.73 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.3257, allocations: 246.1 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.3263, allocations: 487.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.3263, allocations: 8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.3265, allocations: 203.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.3269, allocations: 223.6 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.3269, allocations: 24 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.3272, allocations: 99.84 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.3275, allocations: 267.4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.3277, allocations: 135.4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.3283, allocations: 486.4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3283, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3283, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3283, allocations: 0 / 1.332 GB, free: 12.52 MB / 1.029 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.0009818/0.3293, allocations: 0.5631 MB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3293, allocations: 12.03 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3294, allocations: 32.75 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.33, allocations: 330.4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.33, allocations: 12.38 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.33, allocations: 20.36 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.3303, allocations: 192.7 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3304, allocations: 192 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3304, allocations: 3.938 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3304, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3306, allocations: 115.9 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.3309, allocations: 274.9 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.3314, allocations: 311.6 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.3315, allocations: 118.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3316, allocations: 7.938 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.332, allocations: 281.6 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 3.216e-06/0.332, allocations: 7.922 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008175/0.3328, allocations: 0.5011 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.3329, allocations: 110.8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.3333, allocations: 404.5 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.3334, allocations: 33.7 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3335, allocations: 160.8 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.3336, allocations: 31.8 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.3338, allocations: 121.6 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3339, allocations: 338.8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.334, allocations: 83.95 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.3349, allocations: 1.087 MB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.3352, allocations: 261.4 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3352, allocations: 3.938 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005032/0.3357, allocations: 333 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3357, allocations: 9.719 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.3357, allocations: 4 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3358, allocations: 7.938 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3359, allocations: 27.92 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.3359, allocations: 11.92 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.3366, allocations: 72.98 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3366, allocations: 8 kB / 1.337 GB, free: 6.125 MB / 1.029 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.0002023/0.3368, allocations: 195.1 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.3369, allocations: 31.81 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.3369, allocations: 33.83 kB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3369, allocations: 7.938 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3369, allocations: 4 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3369, allocations: 7.984 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.3372, allocations: 197.2 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3372, allocations: 4 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.3372, allocations: 8.219 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3372, allocations: 0 / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3372, allocations: 8 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3372, allocations: 3.938 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3372, allocations: 7.938 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.3378, allocations: 434.5 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.3378, allocations: 27.8 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.3378, allocations: 8 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.3379, allocations: 7.922 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.338, allocations: 19.98 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.338, allocations: 11.98 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003113/0.3383, allocations: 291 kB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3383, allocations: 0 / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003689/0.3387, allocations: 75.94 kB / 1.339 GB, free: 4.715 MB / 1.029 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.0002069/0.3389, allocations: 143 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.3393, allocations: 255.6 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3393, allocations: 0 / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.3396, allocations: 155.8 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3398, allocations: 30.77 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.3408, allocations: 0.61 MB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.3409, allocations: 161.1 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.341, allocations: 31.42 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.341, allocations: 0 / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of Templates: time 0.00671/0.3477, allocations: 4.395 MB / 1.344 GB, free: 14.95 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.984542245976627]