Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001634/0.001634, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001892/0.001892, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.469/1.469, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.297/3.297, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00218/0.00218, allocations: 71.3 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4077, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002068/0.4098, allocations: 0.6687 MB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.4119, allocations: 1.351 MB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.412, allocations: 0 / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.4125, allocations: 191.5 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.4127, allocations: 107.6 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.4135, allocations: 237.8 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000694/0.4142, allocations: 483.8 kB / 1.368 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.4143, allocations: 4 kB / 1.368 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.4146, allocations: 211.6 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.4149, allocations: 223.6 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.4151, allocations: 24 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.4153, allocations: 99.89 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.4157, allocations: 271.4 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.4159, allocations: 135.4 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.4165, allocations: 474.5 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4165, allocations: 4 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4165, allocations: 8 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.4166, allocations: 0 / 1.369 GB, free: 9.137 MB / 1.061 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.001147/0.4177, allocations: 0.5592 MB / 1.37 GB, free: 8.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4177, allocations: 12.03 kB / 1.37 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.4179, allocations: 28.8 kB / 1.37 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.4186, allocations: 330.5 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4186, allocations: 12.38 kB / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.4187, allocations: 24.31 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.419, allocations: 188.7 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.419, allocations: 4.188 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.419, allocations: 3.938 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.419, allocations: 0 / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.4192, allocations: 115.9 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.4196, allocations: 274.9 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.4201, allocations: 311.6 kB / 1.371 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.4203, allocations: 126.6 kB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.4204, allocations: 4 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004877/0.4208, allocations: 289.6 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.4208, allocations: 0 / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009171/0.4218, allocations: 0.4933 MB / 1.372 GB, free: 6.223 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.4219, allocations: 122.7 kB / 1.372 GB, free: 6.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.4224, allocations: 392.5 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.4225, allocations: 41.69 kB / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.4226, allocations: 152.8 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.4227, allocations: 47.73 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.4229, allocations: 113.6 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4231, allocations: 342.8 kB / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.4232, allocations: 83.95 kB / 1.373 GB, free: 4.887 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009841/0.4242, allocations: 1.089 MB / 1.374 GB, free: 3.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.4246, allocations: 257.4 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.4246, allocations: 4 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005627/0.4251, allocations: 333.1 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4251, allocations: 5.719 kB / 1.375 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4252, allocations: 4 kB / 1.375 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.4252, allocations: 11.94 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.4253, allocations: 27.92 kB / 1.375 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4253, allocations: 4 kB / 1.375 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.4261, allocations: 83.36 kB / 1.375 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.4261, allocations: 8 kB / 1.375 GB, free: 2.746 MB / 1.061 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.0002454/0.4263, allocations: 199.7 kB / 1.375 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.4264, allocations: 27.81 kB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.4265, allocations: 37.83 kB / 1.375 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4265, allocations: 4 kB / 1.375 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4265, allocations: 3.938 kB / 1.375 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4265, allocations: 4 kB / 1.375 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.4267, allocations: 205.2 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4267, allocations: 4 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.4267, allocations: 0 / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4267, allocations: 7.984 kB / 1.375 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4268, allocations: 8 kB / 1.375 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4268, allocations: 3.938 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4268, allocations: 0 / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.4274, allocations: 430.4 kB / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.4274, allocations: 39.73 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4275, allocations: 0 / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.4276, allocations: 19.88 kB / 1.376 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.4276, allocations: 19.97 kB / 1.376 GB, free: 1.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.4276, allocations: 8 kB / 1.376 GB, free: 1.684 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003509/0.428, allocations: 287 kB / 1.376 GB, free: 1.406 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.428, allocations: 4 kB / 1.376 GB, free: 1.402 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003936/0.4284, allocations: 75.92 kB / 1.376 GB, free: 1.328 MB / 1.061 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.0002264/0.4286, allocations: 139 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004791/0.4291, allocations: 263.8 kB / 1.376 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4291, allocations: 0 / 1.376 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.4293, allocations: 143.9 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.4296, allocations: 24.64 kB / 1.377 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4307, allocations: 0.6137 MB / 1.377 GB, free: 108 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4309, allocations: 157.9 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.431, allocations: 27.38 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.431, allocations: 0 / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of Templates: time 0.008244/0.4393, allocations: 4.409 MB / 1.382 GB, free: 11.57 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.00394846033305]