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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 188.1 kB / 326.5 MB, free: 2.211 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.914/1.914, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.000848/0.0008479, allocations: 99.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8.906 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2627, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4524, allocations: 133.7 MB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4528, allocations: 79.95 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.4657, allocations: 4.704 MB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4657, allocations: 0 / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.4658, allocations: 4 kB / 1.035 GB, free: 5.234 MB / 0.6823 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.0009444/0.4667, allocations: 0.5797 MB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4668, allocations: 8.031 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.586e-05/0.4669, allocations: 23.72 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.4676, allocations: 381.2 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4676, allocations: 4 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.4676, allocations: 4 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.4679, allocations: 85.53 kB / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4679, allocations: 0 / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4679, allocations: 0 / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4679, allocations: 4 kB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.4681, allocations: 67.94 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.4689, allocations: 444.5 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.4691, allocations: 50.56 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.4691, allocations: 0 / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4692, allocations: 38.64 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.4692, allocations: 0 / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004495/0.4696, allocations: 133.5 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4697, allocations: 55.36 kB / 1.037 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/0.4703, allocations: 472.7 kB / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4703, allocations: 25.7 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4705, allocations: 168.1 kB / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.4705, allocations: 19.73 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.4706, allocations: 4 kB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4707, allocations: 338.8 kB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.4708, allocations: 23.98 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.4709, allocations: 23.97 kB / 1.038 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.471, allocations: 27.98 kB / 1.038 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4711, allocations: 0 / 1.038 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002599/0.4713, allocations: 109.3 kB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4713, allocations: 4 kB / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4714, allocations: 4 kB / 1.038 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4714, allocations: 0 / 1.038 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4715, allocations: 15.98 kB / 1.038 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4715, allocations: 0 / 1.038 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.4716, allocations: 15.88 kB / 1.038 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.4716, allocations: 4 kB / 1.038 GB, free: 1.941 MB / 0.6823 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 () * Number of clocked 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 0.000182/0.4718, allocations: 169.8 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.4719, allocations: 27.62 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.4722, allocations: 124 kB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4722, allocations: 0 / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4722, allocations: 0 / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4722, allocations: 4 kB / 1.039 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.4726, allocations: 285.4 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4726, allocations: 3.938 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.4727, allocations: 19.98 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4727, allocations: 0 / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4727, allocations: 0 / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4727, allocations: 0 / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4727, allocations: 3.984 kB / 1.039 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.473, allocations: 207.5 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.4732, allocations: 128.7 kB / 1.039 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4732, allocations: 4 kB / 1.039 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4733, allocations: 4 kB / 1.039 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.4734, allocations: 12.03 kB / 1.039 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.4734, allocations: 3.984 kB / 1.039 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000452/0.4739, allocations: 383.1 kB / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of sort global known variables: time 2.404e-06/0.4739, allocations: 0 / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002723/0.4741, allocations: 27.94 kB / 1.04 GB, free: 472 kB / 0.6823 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 () * Number of clocked 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.0008716/0.475, allocations: 350.6 kB / 1.04 GB, free: 248 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.4753, allocations: 51.95 kB / 1.04 GB, free: 196 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4753, allocations: 4 kB / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.4754, allocations: 31.92 kB / 1.04 GB, free: 160 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4757, allocations: 39.53 kB / 1.04 GB, free: 120 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009696/0.4767, allocations: 0.5118 MB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.4772, allocations: 0.783 MB / 1.041 GB, free: 14.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.4773, allocations: 49.88 kB / 1.041 GB, free: 14.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.4774, allocations: 19.44 kB / 1.041 GB, free: 14.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.4774, allocations: 0 / 1.041 GB, free: 14.7 MB / 0.698 GB Notification: Performance of Templates: time 0.006253/0.4836, allocations: 2.311 MB / 1.044 GB, free: 12.4 MB / 0.698 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