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.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.00221/0.00221, allocations: 110 kB / 18.93 MB, free: 2.945 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.00274/0.00274, allocations: 185 kB / 22.23 MB, free: 5.16 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.501/1.501, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 496 MB / 0.7835 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 61.95 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3551, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002154/0.3573, allocations: 0.694 MB / 1.308 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3594, allocations: 1.349 MB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.3595, allocations: 3.938 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.36, allocations: 191.6 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3602, allocations: 111.6 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.3609, allocations: 239.2 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.3617, allocations: 495.7 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.3617, allocations: 3.938 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.362, allocations: 211.7 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.3624, allocations: 231.5 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.3624, allocations: 20 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.3627, allocations: 99.89 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.363, allocations: 279.4 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3632, allocations: 147.3 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.3638, allocations: 482.5 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3638, allocations: 0 / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3638, allocations: 0 / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3638, allocations: 0 / 1.312 GB, free: 13.27 MB / 1.014 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.001136/0.3649, allocations: 0.5708 MB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.365, allocations: 12.92 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.3651, allocations: 32.8 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.3657, allocations: 322.5 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.3657, allocations: 12.38 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.3658, allocations: 28.34 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.3662, allocations: 196.6 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3662, allocations: 192 / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3662, allocations: 7.938 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3662, allocations: 0 / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3664, allocations: 111.9 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.367, allocations: 358.1 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.3675, allocations: 311.6 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.3677, allocations: 126.5 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3677, allocations: 0 / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/0.3682, allocations: 283.8 kB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.3682, allocations: 0 / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.0009403/0.3692, allocations: 0.505 MB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/0.3693, allocations: 110.8 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.3698, allocations: 396.5 kB / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.3699, allocations: 45.64 kB / 1.315 GB, free: 9.664 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3701, allocations: 152.8 kB / 1.315 GB, free: 9.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.3701, allocations: 39.69 kB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3703, allocations: 117.6 kB / 1.315 GB, free: 9.348 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3705, allocations: 342.8 kB / 1.316 GB, free: 9.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3706, allocations: 83.95 kB / 1.316 GB, free: 8.922 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.3712, allocations: 470.9 kB / 1.316 GB, free: 8.336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.3716, allocations: 253.5 kB / 1.316 GB, free: 8.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3716, allocations: 4 kB / 1.316 GB, free: 8.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005239/0.3721, allocations: 329.1 kB / 1.317 GB, free: 7.707 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3721, allocations: 7.938 kB / 1.317 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3721, allocations: 4 kB / 1.317 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.3722, allocations: 8 kB / 1.317 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3723, allocations: 31.98 kB / 1.317 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3723, allocations: 4.406 kB / 1.317 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.373, allocations: 83.98 kB / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3731, allocations: 11.98 kB / 1.317 GB, free: 7.559 MB / 1.014 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.0002518/0.3733, allocations: 187.8 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.3734, allocations: 35.73 kB / 1.317 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.3734, allocations: 37.89 kB / 1.317 GB, free: 7.293 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3734, allocations: 4 kB / 1.317 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3734, allocations: 0 / 1.317 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3734, allocations: 0 / 1.317 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.3738, allocations: 260.5 kB / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3738, allocations: 0 / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3738, allocations: 7.938 kB / 1.317 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3738, allocations: 3.938 kB / 1.317 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.3738, allocations: 15.92 kB / 1.317 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3739, allocations: 4 kB / 1.317 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3739, allocations: 4 kB / 1.317 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.3745, allocations: 430.5 kB / 1.318 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.3745, allocations: 27.75 kB / 1.318 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.3746, allocations: 11.92 kB / 1.318 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.3746, allocations: 4 kB / 1.318 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.3747, allocations: 19.92 kB / 1.318 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.3747, allocations: 15.98 kB / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003382/0.3751, allocations: 291 kB / 1.318 GB, free: 6.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3751, allocations: 4 kB / 1.318 GB, free: 6.148 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003857/0.3755, allocations: 71.94 kB / 1.318 GB, free: 6.078 MB / 1.014 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.0002475/0.3757, allocations: 140.7 kB / 1.318 GB, free: 5.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.3762, allocations: 251.9 kB / 1.319 GB, free: 5.684 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3762, allocations: 0 / 1.319 GB, free: 5.684 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.3764, allocations: 124.6 kB / 1.319 GB, free: 5.562 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3766, allocations: 22.62 kB / 1.319 GB, free: 5.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.3776, allocations: 0.5731 MB / 1.319 GB, free: 4.934 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.378, allocations: 0.7675 MB / 1.32 GB, free: 4.141 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.3782, allocations: 54.11 kB / 1.32 GB, free: 4.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.3782, allocations: 27.44 kB / 1.32 GB, free: 4.062 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.3782, allocations: 0 / 1.32 GB, free: 4.062 MB / 1.014 GB Notification: Performance of Templates: time 0.01028/0.3885, allocations: 5.115 MB / 1.325 GB, free: 15 MB / 1.029 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/jenkins/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: 9.36323814932257]