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.008338/0.008338, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001856/0.001856, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.524/1.524, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.716/2.716, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9612/0.9626, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003601/0.9663, allocations: 1.704 MB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.9674, allocations: 0.5172 MB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.9675, allocations: 1.375 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.9681, allocations: 173.2 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.9685, allocations: 151.4 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.9689, allocations: 182.4 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.9692, allocations: 185.5 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.9694, allocations: 41.11 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.9695, allocations: 72.94 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.9698, allocations: 145.8 kB / 0.9527 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.9698, allocations: 7 kB / 0.9527 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.9699, allocations: 37.41 kB / 0.9527 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.9701, allocations: 76.97 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.9701, allocations: 86.56 kB / 0.9529 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.9704, allocations: 209.9 kB / 0.9531 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9705, allocations: 1.062 kB / 0.9531 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.083e-06/0.9705, allocations: 0 / 0.9531 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.9705, allocations: 0 / 0.9531 GB, free: 6.602 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.0008166/0.9713, allocations: 0.5872 MB / 0.9536 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.9713, allocations: 8.812 kB / 0.9536 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.9714, allocations: 30.44 kB / 0.9537 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.9719, allocations: 372.5 kB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.9719, allocations: 2.562 kB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.972, allocations: 3.688 kB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.9722, allocations: 82.94 kB / 0.9541 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9722, allocations: 0 / 0.9541 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.9722, allocations: 1.281 kB / 0.9541 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.9722, allocations: 5.578 kB / 0.9541 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.9724, allocations: 59.78 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006054/0.9731, allocations: 424.2 kB / 0.9546 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.9732, allocations: 46.03 kB / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.9733, allocations: 27.7 kB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.9734, allocations: 5.156 kB / 0.9546 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.9734, allocations: 31.66 kB / 0.9547 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9734, allocations: 0 / 0.9547 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004015/0.9738, allocations: 116.8 kB / 0.9548 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.9739, allocations: 55.41 kB / 0.9548 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.9745, allocations: 0.5128 MB / 0.9553 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.9745, allocations: 25.7 kB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.9746, allocations: 169.2 kB / 0.9555 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.9747, allocations: 10.27 kB / 0.9555 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.9747, allocations: 20.23 kB / 0.9556 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9748, allocations: 344.9 kB / 0.9559 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.9749, allocations: 18.17 kB / 0.9559 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.975, allocations: 25.59 kB / 0.9559 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.9751, allocations: 41.58 kB / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9751, allocations: 3.938 kB / 0.956 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002086/0.9754, allocations: 103.7 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9754, allocations: 3.75 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9754, allocations: 4 kB / 0.9561 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9754, allocations: 0 / 0.9561 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.9755, allocations: 10.58 kB / 0.9561 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.9755, allocations: 3.906 kB / 0.9561 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.9756, allocations: 8.797 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.9756, allocations: 1.062 kB / 0.9561 GB, free: 4.043 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.9758, allocations: 166.8 kB / 0.9563 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.9758, allocations: 28.06 kB / 0.9563 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.9761, allocations: 120.8 kB / 0.9564 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9762, allocations: 0 / 0.9564 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9762, allocations: 0 / 0.9564 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9762, allocations: 3.938 kB / 0.9564 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.9764, allocations: 260.6 kB / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9764, allocations: 0 / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.9765, allocations: 11.48 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9765, allocations: 5.531 kB / 0.9567 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9765, allocations: 4.375 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9765, allocations: 1.281 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9766, allocations: 0 / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.9768, allocations: 205.7 kB / 0.9569 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.9769, allocations: 105.7 kB / 0.957 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.977, allocations: 5.062 kB / 0.957 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.9771, allocations: 11.3 kB / 0.957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.9771, allocations: 6.219 kB / 0.957 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.9771, allocations: 5.125 kB / 0.957 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004102/0.9775, allocations: 385.7 kB / 0.9574 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9775, allocations: 1.25 kB / 0.9574 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002722/0.9778, allocations: 31.06 kB / 0.9574 GB, free: 3.008 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 (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.000876/0.9787, allocations: 346.8 kB / 0.9577 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.9789, allocations: 40.58 kB / 0.9578 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.979, allocations: 0 / 0.9578 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.9791, allocations: 30.19 kB / 0.9578 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.9796, allocations: 44.23 kB / 0.9578 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.9803, allocations: 0.5542 MB / 0.9584 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.9806, allocations: 0.7717 MB / 0.9591 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.9807, allocations: 27.77 kB / 0.9592 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.9807, allocations: 0 / 0.9592 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.005538/0.9862, allocations: 3.163 MB / 0.9622 GB, free: 15.99 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches