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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.698/1.698, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 177.3 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.051/1.051, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007976/0.0007979, allocations: 88.67 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.991e-06/6.011e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.6099, allocations: 149.3 MB / 1.357 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001648/0.6101, allocations: 71.53 kB / 1.357 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05311/0.6632, allocations: 20.68 MB / 1.378 GB, free: 15.42 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.6632, allocations: 4.188 kB / 1.378 GB, free: 15.42 MB / 0.823 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.0005332/0.6638, allocations: 484.4 kB / 1.378 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.6638, allocations: 9.531 kB / 1.378 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/0.6639, allocations: 33.41 kB / 1.378 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.6644, allocations: 373.3 kB / 1.379 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6644, allocations: 0.9062 kB / 1.379 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/0.6645, allocations: 23.14 kB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/0.6646, allocations: 110 kB / 1.379 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.6649, allocations: 196.4 kB / 1.379 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-06/0.6649, allocations: 3.938 kB / 1.379 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.6649, allocations: 1.5 kB / 1.379 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.6649, allocations: 0.75 kB / 1.379 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.6652, allocations: 368.2 kB / 1.379 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.6656, allocations: 323 kB / 1.38 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.6657, allocations: 129.1 kB / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.6657, allocations: 4.938 kB / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.666, allocations: 227.4 kB / 1.38 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.666, allocations: 0 / 1.38 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005024/0.6665, allocations: 311.8 kB / 1.38 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.6665, allocations: 112.7 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.6669, allocations: 343.6 kB / 1.381 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.6669, allocations: 33.8 kB / 1.381 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.667, allocations: 115.5 kB / 1.381 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.667, allocations: 40.06 kB / 1.381 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.6671, allocations: 0 / 1.381 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6672, allocations: 346.6 kB / 1.381 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.6673, allocations: 86.69 kB / 1.381 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.6676, allocations: 464.3 kB / 1.382 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.668, allocations: 164.2 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.668, allocations: 2.344 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005913/0.6686, allocations: 335 kB / 1.382 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6686, allocations: 10.03 kB / 1.382 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6686, allocations: 3.156 kB / 1.382 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6686, allocations: 9.891 kB / 1.382 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.6688, allocations: 32.55 kB / 1.382 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6688, allocations: 9.062 kB / 1.382 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.6694, allocations: 50.03 kB / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.6694, allocations: 12.66 kB / 1.382 GB, free: 28.57 MB / 0.8386 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6695, allocations: 133.8 kB / 1.382 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.6696, allocations: 24.53 kB / 1.382 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.6696, allocations: 40.73 kB / 1.382 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6696, allocations: 7.219 kB / 1.382 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6696, allocations: 1.219 kB / 1.382 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6697, allocations: 4 kB / 1.382 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.6698, allocations: 257 kB / 1.383 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6698, allocations: 0.9688 kB / 1.383 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.6699, allocations: 3.188 kB / 1.383 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6699, allocations: 5.688 kB / 1.383 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.6699, allocations: 8.953 kB / 1.383 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6699, allocations: 1.031 kB / 1.383 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6699, allocations: 0.9688 kB / 1.383 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004022/0.6703, allocations: 370.6 kB / 1.383 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.6704, allocations: 112.8 kB / 1.383 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.6704, allocations: 4.984 kB / 1.383 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.6705, allocations: 5.25 kB / 1.383 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.6706, allocations: 14.42 kB / 1.383 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.6706, allocations: 15.83 kB / 1.383 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002419/0.6708, allocations: 278.1 kB / 1.383 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003663/0.6712, allocations: 79.98 kB / 1.384 GB, free: 27.77 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.6714, allocations: 140.8 kB / 1.384 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.6717, allocations: 243.8 kB / 1.384 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.6717, allocations: 0 / 1.384 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.6719, allocations: 145.3 kB / 1.384 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.6721, allocations: 23.3 kB / 1.384 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.6727, allocations: 457.9 kB / 1.385 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.6731, allocations: 0.7987 MB / 1.385 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6731, allocations: 4 kB / 1.385 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.006928/0.68, allocations: 4.243 MB / 1.389 GB, free: 24.6 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches