Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.Table") [: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.751/1.751, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.00091/0.00091, allocations: 173.3 kB / 487 MB, free: 5.316 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.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008256/0.0008256, allocations: 107.6 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.59e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1854, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5034/0.6889, allocations: 151 MB / 1.353 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.6891, allocations: 73.95 kB / 1.353 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01155/0.7007, allocations: 4.472 MB / 1.357 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.7007, allocations: 4.719 kB / 1.357 GB, free: 15.21 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004141/0.7012, allocations: 0.4893 MB / 1.358 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.7012, allocations: 8.438 kB / 1.358 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.7013, allocations: 29.33 kB / 1.358 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.7018, allocations: 385.7 kB / 1.358 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.7018, allocations: 1.812 kB / 1.358 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.7018, allocations: 2.156 kB / 1.358 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.694e-05/0.7019, allocations: 33.94 kB / 1.358 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.857e-05/0.702, allocations: 52.53 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.702, allocations: 0.75 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.702, allocations: 1 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.702, allocations: 4.734 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.7025, allocations: 416.7 kB / 1.358 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.7025, allocations: 34.98 kB / 1.358 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.7026, allocations: 15.09 kB / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7026, allocations: 0 / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.7026, allocations: 32.56 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.7026, allocations: 0 / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001681/0.7028, allocations: 74.45 kB / 1.359 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.7028, allocations: 56.72 kB / 1.359 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.7033, allocations: 447.8 kB / 1.359 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.7033, allocations: 25.7 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.7034, allocations: 122.4 kB / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.7034, allocations: 10.5 kB / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.7034, allocations: 0 / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.7035, allocations: 340.9 kB / 1.36 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.7035, allocations: 7.969 kB / 1.36 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.7035, allocations: 8.641 kB / 1.36 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.7036, allocations: 12.31 kB / 1.36 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7036, allocations: 0 / 1.36 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.931e-05/0.7037, allocations: 70.55 kB / 1.36 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.7037, allocations: 8.469 kB / 1.36 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7037, allocations: 8.656 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.7037, allocations: 4.5 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.7038, allocations: 14.17 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.7038, allocations: 4 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.7039, allocations: 9.938 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.7039, allocations: 5.219 kB / 1.36 GB, free: 13.44 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.594e-05/0.704, allocations: 102.6 kB / 1.36 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.704, allocations: 29.05 kB / 1.36 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.7042, allocations: 84.8 kB / 1.36 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7042, allocations: 8.906 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7042, allocations: 0.5625 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7042, allocations: 0.875 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.7044, allocations: 251.5 kB / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7045, allocations: 0 / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.7045, allocations: 16.94 kB / 1.36 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7045, allocations: 0.6875 kB / 1.36 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7046, allocations: 5.359 kB / 1.36 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7046, allocations: 0.6875 kB / 1.36 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7046, allocations: 5.625 kB / 1.36 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001146/0.7047, allocations: 166 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.7048, allocations: 127.4 kB / 1.36 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.7048, allocations: 0 / 1.36 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.705, allocations: 17.55 kB / 1.36 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.705, allocations: 3.203 kB / 1.36 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.705, allocations: 8.578 kB / 1.36 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0003675/0.7054, allocations: 355.8 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002535/0.7056, allocations: 33.06 kB / 1.361 GB, free: 12.74 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004711/0.7061, allocations: 261.4 kB / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.7062, allocations: 20.72 kB / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.7062, allocations: 0 / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.7062, allocations: 8.672 kB / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.7065, allocations: 48.36 kB / 1.361 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.7072, allocations: 369 kB / 1.362 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.7076, allocations: 0.8072 MB / 1.362 GB, free: 27.64 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7076, allocations: 3.938 kB / 1.362 GB, free: 27.63 MB / 0.823 GB Notification: Performance of Templates: time 0.004627/0.7122, allocations: 1.895 MB / 1.364 GB, free: 26.51 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches