Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadModel(Buildings): time 3.911/3.911, allocations: 433.3 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.971e-05, allocations: 4 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5288, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.249/0.7778, allocations: 124 MB / 0.75 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.7781, allocations: 67.97 kB / 0.75 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008761/0.7869, allocations: 2.061 MB / 0.7521 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.996e-06/0.7869, allocations: 0 / 0.7521 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.7869, allocations: 4 kB / 0.7521 GB, free: 1.453 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001023/0.788, allocations: 482 kB / 0.7525 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.788, allocations: 12.03 kB / 0.7525 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.7881, allocations: 23.77 kB / 0.7526 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.7884, allocations: 202.9 kB / 0.7527 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.7884, allocations: 4 kB / 0.7528 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.7885, allocations: 15.98 kB / 0.7528 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002266/0.7887, allocations: 52 kB / 0.7528 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.789, allocations: 136.8 kB / 0.7529 GB, free: 452 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.7891, allocations: 7.938 kB / 0.753 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.7891, allocations: 0 / 0.753 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.311e-06/0.7891, allocations: 4 kB / 0.753 GB, free: 440 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.7908, allocations: 0.779 MB / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.7911, allocations: 129 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.7912, allocations: 66.59 kB / 0.7539 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.7913, allocations: 0 / 0.7539 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.7916, allocations: 147.5 kB / 0.754 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/0.7916, allocations: 0 / 0.754 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003821/0.792, allocations: 117.5 kB / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.7921, allocations: 162.3 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.7923, allocations: 145.4 kB / 0.7545 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.7923, allocations: 25.7 kB / 0.7545 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7925, allocations: 124 kB / 0.7546 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.7925, allocations: 31.5 kB / 0.7546 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.7926, allocations: 0 / 0.7546 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.7927, allocations: 326.8 kB / 0.7549 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.7929, allocations: 43.98 kB / 0.755 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.793, allocations: 80.22 kB / 0.7551 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.7932, allocations: 35.97 kB / 0.7551 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7932, allocations: 0 / 0.7551 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003664/0.7936, allocations: 133.5 kB / 0.7552 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7936, allocations: 8.094 kB / 0.7552 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-06/0.7936, allocations: 12.02 kB / 0.7552 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7936, allocations: 4 kB / 0.7552 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.7941, allocations: 63.88 kB / 0.7553 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.295e-06/0.7941, allocations: 3.984 kB / 0.7553 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.7945, allocations: 63.84 kB / 0.7554 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.7945, allocations: 4 kB / 0.7554 GB, free: 13.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001218/0.7946, allocations: 118 kB / 0.7555 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.7947, allocations: 15.81 kB / 0.7555 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.7948, allocations: 21.55 kB / 0.7555 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-06/0.7948, allocations: 4 kB / 0.7555 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-06/0.7948, allocations: 0 / 0.7555 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-06/0.7948, allocations: 0 / 0.7555 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.7951, allocations: 206.1 kB / 0.7557 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-06/0.7951, allocations: 0 / 0.7557 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.7954, allocations: 55.91 kB / 0.7558 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.013e-06/0.7954, allocations: 7.984 kB / 0.7558 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.7954, allocations: 0 / 0.7558 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-06/0.7955, allocations: 4 kB / 0.7558 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.088e-06/0.7955, allocations: 0 / 0.7558 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.7959, allocations: 223 kB / 0.756 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.796, allocations: 85.02 kB / 0.7561 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.796, allocations: 12 kB / 0.7561 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.7964, allocations: 47.94 kB / 0.7561 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.7965, allocations: 35.91 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.7965, allocations: 8 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001284/0.7967, allocations: 120.3 kB / 0.7563 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.6e-07/0.7967, allocations: 0 / 0.7563 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003475/0.797, allocations: 27.91 kB / 0.7563 GB, free: 12.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001901/0.7973, allocations: 111.2 kB / 0.7564 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.7976, allocations: 95.86 kB / 0.7565 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.173e-06/0.7976, allocations: 4.188 kB / 0.7565 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.7979, allocations: 67.94 kB / 0.7566 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.7982, allocations: 34.33 kB / 0.7566 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.7989, allocations: 203.5 kB / 0.7568 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.7994, allocations: 0.7197 MB / 0.7575 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.7995, allocations: 21.16 kB / 0.7575 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.7996, allocations: 15.42 kB / 0.7575 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/0.7996, allocations: 4 kB / 0.7576 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.005796/0.8054, allocations: 1.663 MB / 0.7592 GB, free: 9.652 MB / 0.6355 GB