Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.731/1.731, allocations: 387.2 MB / 394.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 183.2 kB / 487 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.09/1.09, allocations: 221.3 MB / 0.7819 GB, free: 6.852 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 106.1 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.514e-06, allocations: 4 kB / 1.066 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4897, allocations: 142.3 MB / 1.205 GB, free: 72.7 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.6372, allocations: 148.5 MB / 1.35 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.6375, allocations: 72.64 kB / 1.35 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.05687/0.6943, allocations: 20.67 MB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6944, allocations: 4 kB / 1.371 GB, free: 10.06 MB / 0.8698 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.0005001/0.6949, allocations: 489.9 kB / 1.371 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.6949, allocations: 8.031 kB / 1.371 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.695, allocations: 35.72 kB / 1.371 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.6955, allocations: 367.4 kB / 1.371 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6956, allocations: 4 kB / 1.371 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.6956, allocations: 28.7 kB / 1.371 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001585/0.6958, allocations: 107.9 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.696, allocations: 197.8 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.696, allocations: 0 / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.6961, allocations: 0 / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6961, allocations: 8 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.6964, allocations: 363.5 kB / 1.372 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.6968, allocations: 327.6 kB / 1.372 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.6969, allocations: 126.6 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.697, allocations: 0 / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.6972, allocations: 234.3 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.6972, allocations: 0 / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0005079/0.6977, allocations: 305.1 kB / 1.373 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.6978, allocations: 110.8 kB / 1.373 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.6981, allocations: 347.5 kB / 1.373 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.6982, allocations: 33.7 kB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.6982, allocations: 109.6 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.6983, allocations: 35.53 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6983, allocations: 4 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.6984, allocations: 346.8 kB / 1.374 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.6985, allocations: 83.97 kB / 1.374 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.6989, allocations: 458.8 kB / 1.374 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.6993, allocations: 170.2 kB / 1.375 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6993, allocations: 0 / 1.375 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006204/0.6999, allocations: 349.4 kB / 1.375 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.6999, allocations: 4 kB / 1.375 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6999, allocations: 4.938 kB / 1.375 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6999, allocations: 4 kB / 1.375 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.7001, allocations: 27.92 kB / 1.375 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.7001, allocations: 8 kB / 1.375 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.7007, allocations: 44.41 kB / 1.375 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.7008, allocations: 16.09 kB / 1.375 GB, free: 5.008 MB / 0.8698 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.0001054/0.7009, allocations: 139 kB / 1.375 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.7009, allocations: 27.62 kB / 1.375 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.701, allocations: 37.89 kB / 1.375 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.701, allocations: 4 kB / 1.375 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.701, allocations: 1.438 kB / 1.375 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.701, allocations: 0 / 1.375 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.7012, allocations: 269.8 kB / 1.376 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7012, allocations: 0 / 1.376 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.7012, allocations: 4 kB / 1.376 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7013, allocations: 0 / 1.376 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.7013, allocations: 11.98 kB / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7013, allocations: 0 / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7013, allocations: 0 / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004156/0.7017, allocations: 374.5 kB / 1.376 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.7018, allocations: 118.7 kB / 1.376 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.7018, allocations: 7.172 kB / 1.376 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.7019, allocations: 4 kB / 1.376 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.702, allocations: 15.98 kB / 1.376 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.702, allocations: 15.98 kB / 1.376 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002206/0.7022, allocations: 275.1 kB / 1.376 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003301/0.7026, allocations: 75.92 kB / 1.376 GB, free: 3.562 MB / 0.8698 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.0001941/0.7028, allocations: 150.9 kB / 1.377 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.7031, allocations: 248 kB / 1.377 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7031, allocations: 4 kB / 1.377 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.7033, allocations: 139.9 kB / 1.377 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.7035, allocations: 21.3 kB / 1.377 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.7041, allocations: 455.3 kB / 1.377 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.7044, allocations: 0.802 MB / 1.378 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.7044, allocations: 0 / 1.378 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of Templates: time 0.006697/0.7111, allocations: 4.23 MB / 1.382 GB, free: 13.57 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches