Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") [: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.713/1.713, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009046/0.0009046, allocations: 193.2 kB / 490.8 MB, free: 1.93 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.06/1.06, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0007979/0.0007979, allocations: 76.75 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.202e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.6147, allocations: 149.3 MB / 1.357 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.6149, allocations: 68.56 kB / 1.357 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05363/0.6685, allocations: 20.67 MB / 1.378 GB, free: 15.55 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6685, allocations: 3.844 kB / 1.378 GB, free: 15.55 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.0005312/0.6691, allocations: 492.7 kB / 1.378 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.6691, allocations: 8.812 kB / 1.378 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.6692, allocations: 34.12 kB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.6697, allocations: 374.9 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6697, allocations: 5.703 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.6698, allocations: 15 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001601/0.67, allocations: 110.1 kB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.6702, allocations: 199.3 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6702, allocations: 1.094 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.6702, allocations: 0.9375 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6702, allocations: 12.83 kB / 1.379 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.6706, allocations: 360.5 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.6709, allocations: 321.5 kB / 1.38 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.6711, allocations: 135.5 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.6711, allocations: 1.125 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.6713, allocations: 224.1 kB / 1.38 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.6713, allocations: 0 / 1.38 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0004988/0.6718, allocations: 309.3 kB / 1.38 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.6719, allocations: 117.3 kB / 1.38 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.6722, allocations: 340 kB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.6722, allocations: 30.86 kB / 1.381 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.6723, allocations: 125.4 kB / 1.381 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.6724, allocations: 37.61 kB / 1.381 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.6724, allocations: 3.938 kB / 1.381 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.6725, allocations: 344.3 kB / 1.381 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.6726, allocations: 80.69 kB / 1.381 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.6729, allocations: 462 kB / 1.382 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.6733, allocations: 168.5 kB / 1.382 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6733, allocations: 1.938 kB / 1.382 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000622/0.6739, allocations: 341.7 kB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.674, allocations: 5.344 kB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.674, allocations: 3.688 kB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.674, allocations: 5.906 kB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6741, allocations: 28.86 kB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6741, allocations: 13.3 kB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.6747, allocations: 42.77 kB / 1.382 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.6748, allocations: 15.28 kB / 1.382 GB, free: 28.7 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.0001088/0.6749, allocations: 136.1 kB / 1.382 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.6749, allocations: 24.12 kB / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.675, allocations: 38.33 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.675, allocations: 2.25 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.675, allocations: 5.312 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.675, allocations: 1.281 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.6752, allocations: 255.4 kB / 1.383 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6752, allocations: 1.031 kB / 1.383 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.6752, allocations: 3 kB / 1.383 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.6752, allocations: 5.875 kB / 1.383 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.6753, allocations: 16.2 kB / 1.383 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6753, allocations: 4.812 kB / 1.383 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6753, allocations: 1.469 kB / 1.383 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003958/0.6757, allocations: 353.7 kB / 1.383 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.6758, allocations: 123.4 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.6758, allocations: 6.156 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.6759, allocations: 5.156 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.6759, allocations: 18.75 kB / 1.383 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.676, allocations: 19.77 kB / 1.383 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002318/0.6762, allocations: 270.6 kB / 1.383 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003555/0.6766, allocations: 83.27 kB / 1.384 GB, free: 27.9 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.0001687/0.6767, allocations: 157.1 kB / 1.384 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.6771, allocations: 235.3 kB / 1.384 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6771, allocations: 1.375 kB / 1.384 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.6772, allocations: 141.5 kB / 1.384 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.6774, allocations: 24.94 kB / 1.384 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.6781, allocations: 465.3 kB / 1.385 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.6784, allocations: 0.8018 MB / 1.385 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.6784, allocations: 0 / 1.385 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.006784/0.6852, allocations: 4.245 MB / 1.389 GB, free: 24.75 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches