Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 249.4 MB / 256.7 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009971/0.0009971, allocations: 177.3 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008579/0.000858, allocations: 89.08 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.606e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 106.3 MB / 0.8845 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6312/0.8493, allocations: 134 MB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.8496, allocations: 74.89 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01221/0.8618, allocations: 4.317 MB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.8619, allocations: 8 kB / 1.02 GB, free: 0.9961 MB / 0.6355 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.0005848/0.8625, allocations: 0.4993 MB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.8626, allocations: 8.031 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.8626, allocations: 27.62 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.8632, allocations: 374.1 kB / 1.021 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.8633, allocations: 0.75 kB / 1.021 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.8633, allocations: 8 kB / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.558e-05/0.8634, allocations: 29.91 kB / 1.021 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.8635, allocations: 56.55 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8635, allocations: 3.938 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8635, allocations: 4 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8635, allocations: 0 / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.8641, allocations: 405.5 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.8642, allocations: 36.73 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.8642, allocations: 16.27 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.8643, allocations: 7.891 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.8643, allocations: 34.56 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.8643, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002121/0.8645, allocations: 68.61 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.8646, allocations: 59.31 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.8651, allocations: 450.2 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.8651, allocations: 29.64 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.8652, allocations: 116.6 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.8652, allocations: 7.812 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.8652, allocations: 0 / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8654, allocations: 352 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.8654, allocations: 11 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.8655, allocations: 7.75 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.8655, allocations: 4 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8655, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/0.8656, allocations: 76.44 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.8656, allocations: 4 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.8656, allocations: 0 / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8657, allocations: 0 / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8658, allocations: 19.98 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.8658, allocations: 0 / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.8659, allocations: 11.91 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.8659, allocations: 3.984 kB / 1.022 GB, free: 14.38 MB / 0.6511 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 6.548e-05/0.866, allocations: 108.9 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.866, allocations: 27.62 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.8662, allocations: 89.56 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8662, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.8662, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8662, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.8665, allocations: 250.8 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8665, allocations: 4 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.8665, allocations: 11.98 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8666, allocations: 0 / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.8666, allocations: 7.5 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8666, allocations: 4 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8666, allocations: 0 / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001505/0.8667, allocations: 173 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.8669, allocations: 123 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.8669, allocations: 0 / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.867, allocations: 15.98 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.8671, allocations: 3.312 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.8671, allocations: 7.984 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003411/0.8674, allocations: 355.5 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002651/0.8677, allocations: 35.92 kB / 1.023 GB, free: 13.25 MB / 0.6511 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.0005768/0.8683, allocations: 272.1 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.8684, allocations: 19.23 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8684, allocations: 7.875 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.8684, allocations: 11.06 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.8688, allocations: 38.39 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.8695, allocations: 364.9 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.8699, allocations: 0.8028 MB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.8699, allocations: 0 / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.005337/0.8752, allocations: 1.894 MB / 1.027 GB, free: 9.961 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Examples_Table.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches