Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001888, allocations: 117.2 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 193.2 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 61.14 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4671, allocations: 151.7 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004683/0.4718, allocations: 1.647 MB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.473, allocations: 0.5201 MB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.4731, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.4737, allocations: 173.1 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.4742, allocations: 165.4 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.4746, allocations: 201.3 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.475, allocations: 203.5 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.4752, allocations: 41.44 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.4753, allocations: 79.73 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.4756, allocations: 159.5 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.4756, allocations: 12 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4757, allocations: 39.98 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.4759, allocations: 79.73 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.476, allocations: 103.2 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.4764, allocations: 271 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4764, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4764, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4765, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 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.001104/0.4776, allocations: 0.572 MB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.4776, allocations: 12.56 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4778, allocations: 32.55 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.4784, allocations: 378.2 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4784, allocations: 8.375 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4785, allocations: 384 / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.4787, allocations: 77.78 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4788, allocations: 0 / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4788, allocations: 0 / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.4788, allocations: 0 / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.479, allocations: 55.89 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008442/0.4799, allocations: 424.6 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4801, allocations: 58.58 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.4802, allocations: 20.91 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.4802, allocations: 3.984 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.4803, allocations: 38.56 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.4803, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004837/0.4808, allocations: 113.3 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.4809, allocations: 51.41 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.4815, allocations: 0.5094 MB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4816, allocations: 25.7 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.4818, allocations: 172 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.4818, allocations: 11.84 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.4819, allocations: 13.72 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.4821, allocations: 350.7 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.4822, allocations: 15.98 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.4823, allocations: 16.17 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.4825, allocations: 56.89 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4825, allocations: 0 / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002583/0.4827, allocations: 97.28 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.4828, allocations: 6.656 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.4828, allocations: 7.922 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.4829, allocations: 7.938 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.483, allocations: 11.92 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.483, allocations: 4 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.4831, allocations: 15.88 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4831, allocations: 3.984 kB / 1.025 GB, free: 2.789 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.4833, allocations: 165.8 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.4834, allocations: 27.62 kB / 1.026 GB, free: 2.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.4837, allocations: 112.1 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4838, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4838, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4838, allocations: 7.938 kB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.4842, allocations: 257.5 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4842, allocations: 0 / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.4843, allocations: 11.98 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4843, allocations: 7.938 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4843, allocations: 0 / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4843, allocations: 4 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4843, allocations: 0 / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.4847, allocations: 195.1 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4848, allocations: 112.8 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.4849, allocations: 0 / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.485, allocations: 7.984 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.4851, allocations: 4 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4851, allocations: 7.938 kB / 1.026 GB, free: 1.781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000513/0.4856, allocations: 379.1 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4856, allocations: 4 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003247/0.486, allocations: 27.91 kB / 1.027 GB, free: 1.379 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.4872, allocations: 355 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.4875, allocations: 47.89 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4875, allocations: 4 kB / 1.027 GB, free: 1.105 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.4876, allocations: 19.98 kB / 1.027 GB, free: 1.086 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.4882, allocations: 49.16 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4893, allocations: 469 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.49, allocations: 0.7749 MB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000102/0.4901, allocations: 37.92 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.4902, allocations: 23.38 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.4902, allocations: 0 / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.007762/0.4979, allocations: 2.27 MB / 1.031 GB, free: 13.44 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches