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.002306/0.002306, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002958/0.002958, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.793 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.44/3.44, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 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.002101/0.002101, allocations: 67.03 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4704, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002019/0.4724, allocations: 0.6621 MB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.4746, allocations: 1.35 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.4747, allocations: 3.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.4752, allocations: 199.6 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.4754, allocations: 95.67 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.4762, allocations: 242.2 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.4768, allocations: 483.7 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.157e-05/0.4769, allocations: 4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.4771, allocations: 207.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.4776, allocations: 227.5 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-05/0.4777, allocations: 24 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.478, allocations: 95.91 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.4784, allocations: 271.4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.4786, allocations: 131.4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.4792, allocations: 486.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4793, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4793, allocations: 3.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.4793, allocations: 0 / 1.33 GB, free: 13.4 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.00131/0.4806, allocations: 0.567 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/0.4806, allocations: 12.03 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.4808, allocations: 32.75 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.4815, allocations: 322.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.4815, allocations: 16.36 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.4816, allocations: 20.38 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.482, allocations: 192.7 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.482, allocations: 4.125 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.482, allocations: 3.938 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.482, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.4822, allocations: 115.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.4827, allocations: 266.9 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.4832, allocations: 319.6 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.4834, allocations: 122.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4834, allocations: 7.938 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/0.484, allocations: 287.3 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.484, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009305/0.4849, allocations: 0.5011 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.485, allocations: 106.8 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.4856, allocations: 408.4 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.4856, allocations: 37.7 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4858, allocations: 152.8 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.4859, allocations: 35.8 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.486, allocations: 117.6 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4862, allocations: 338.8 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4865, allocations: 95.94 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.4878, allocations: 1.084 MB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.4883, allocations: 257.4 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4883, allocations: 0 / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007823/0.4891, allocations: 329.4 kB / 1.335 GB, free: 7.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.4891, allocations: 12.03 kB / 1.335 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4891, allocations: 4 kB / 1.335 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.4891, allocations: 7.938 kB / 1.335 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4894, allocations: 35.91 kB / 1.335 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.4894, allocations: 7.938 kB / 1.335 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.4904, allocations: 63.95 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.4905, allocations: 12 kB / 1.336 GB, free: 7.012 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.0003693/0.4908, allocations: 196.3 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.4909, allocations: 32.05 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.491, allocations: 37.81 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.491, allocations: 4 kB / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.491, allocations: 0 / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.491, allocations: 7.984 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.4914, allocations: 205.1 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4914, allocations: 3.984 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.4914, allocations: 7.938 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4915, allocations: 4 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.4915, allocations: 8 kB / 1.336 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4915, allocations: 3.938 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.4915, allocations: 7.984 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.4924, allocations: 430.5 kB / 1.336 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.4925, allocations: 23.8 kB / 1.336 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.4926, allocations: 4 kB / 1.336 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4927, allocations: 11.92 kB / 1.336 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.4928, allocations: 19.92 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.4928, allocations: 11.98 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005162/0.4934, allocations: 299 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4934, allocations: 0 / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006675/0.494, allocations: 75.94 kB / 1.337 GB, free: 5.59 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.0003338/0.4944, allocations: 136.8 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007197/0.4951, allocations: 244.3 kB / 1.337 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4951, allocations: 192 / 1.337 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.4954, allocations: 128.5 kB / 1.337 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.4958, allocations: 24.64 kB / 1.337 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4973, allocations: 0.5805 MB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4976, allocations: 157.2 kB / 1.338 GB, free: 4.273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.4978, allocations: 49.94 kB / 1.338 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4979, allocations: 27.38 kB / 1.338 GB, free: 4.195 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.4979, allocations: 0 / 1.338 GB, free: 4.195 MB / 1.029 GB Notification: Performance of Templates: time 0.01573/0.5137, allocations: 5.613 MB / 1.344 GB, free: 14.68 MB / 1.045 GB " [Timeout remaining time 299] 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: 10.060660215094686]