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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001637/0.001637, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.675/2.675, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 12 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8657, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002183/0.8679, allocations: 1.343 MB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.8688, allocations: 465.5 kB / 0.9552 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.8689, allocations: 1.531 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.8695, allocations: 164.2 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.8698, allocations: 142.2 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.8703, allocations: 167.1 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.8705, allocations: 126.6 kB / 0.9558 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.8707, allocations: 35.84 kB / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.8708, allocations: 62.97 kB / 0.9559 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.871, allocations: 129 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.871, allocations: 9.766 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.651e-05/0.8711, allocations: 16.22 kB / 0.9561 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.8712, allocations: 75.3 kB / 0.9561 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.8713, allocations: 56.61 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.8716, allocations: 210.3 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.8716, allocations: 0 / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8716, allocations: 4 kB / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.8716, allocations: 1 kB / 0.9564 GB, free: 6.004 MB / 0.7169 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.0007258/0.8723, allocations: 0.5563 MB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.8724, allocations: 13.64 kB / 0.957 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.8724, allocations: 32.3 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.8729, allocations: 353.7 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.8729, allocations: 1.844 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.873, allocations: 5.719 kB / 0.9573 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.8732, allocations: 79.19 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8732, allocations: 0 / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8732, allocations: 1.469 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8732, allocations: 9.531 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.8734, allocations: 72.98 kB / 0.9575 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.874, allocations: 421.4 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.8742, allocations: 53.88 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.8742, allocations: 1.781 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.8742, allocations: 38.59 kB / 0.958 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.335e-06/0.8742, allocations: 3.984 kB / 0.958 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004096/0.8747, allocations: 138.7 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.8747, allocations: 52.78 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.8753, allocations: 0.5057 MB / 0.9587 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.8753, allocations: 25.7 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8754, allocations: 173.3 kB / 0.9588 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.8755, allocations: 9.047 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.8755, allocations: 4 kB / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.8756, allocations: 340.8 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.8757, allocations: 23.27 kB / 0.9592 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.8758, allocations: 31.62 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.8759, allocations: 24.11 kB / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.8759, allocations: 0 / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002306/0.8761, allocations: 115.9 kB / 0.9594 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8761, allocations: 9.203 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8761, allocations: 4 kB / 0.9594 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8762, allocations: 0.8125 kB / 0.9594 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.8763, allocations: 13.67 kB / 0.9594 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8763, allocations: 5.297 kB / 0.9594 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.8764, allocations: 10.27 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.8764, allocations: 4 kB / 0.9594 GB, free: 3.516 MB / 0.7169 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.0001429/0.8765, allocations: 167.2 kB / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.8766, allocations: 28.25 kB / 0.9596 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.8769, allocations: 127.3 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.8769, allocations: 0 / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.8769, allocations: 4.906 kB / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8769, allocations: 0 / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.8772, allocations: 262.8 kB / 0.96 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8772, allocations: 0 / 0.96 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.8773, allocations: 17.83 kB / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8773, allocations: 1.125 kB / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.8773, allocations: 0 / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8773, allocations: 5.109 kB / 0.96 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8773, allocations: 4 kB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.8776, allocations: 202.7 kB / 0.9602 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.8777, allocations: 120.5 kB / 0.9603 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.8778, allocations: 4 kB / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.8779, allocations: 6.094 kB / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.8779, allocations: 9.906 kB / 0.9603 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.8779, allocations: 1.031 kB / 0.9603 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004399/0.8784, allocations: 384.2 kB / 0.9607 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8784, allocations: 3.938 kB / 0.9607 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002714/0.8787, allocations: 30.89 kB / 0.9607 GB, free: 2.48 MB / 0.7169 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.0008572/0.8795, allocations: 346 kB / 0.9611 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.8798, allocations: 57.83 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8798, allocations: 1.25 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.8799, allocations: 29.59 kB / 0.9611 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.8803, allocations: 33.58 kB / 0.9612 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.8811, allocations: 0.506 MB / 0.9617 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.8813, allocations: 0.78 MB / 0.9624 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.132e-05/0.8814, allocations: 37.89 kB / 0.9625 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.8815, allocations: 23.83 kB / 0.9625 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8815, allocations: 0 / 0.9625 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.005986/0.8875, allocations: 2.058 MB / 0.9645 GB, free: 140 kB / 0.7169 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