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.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadModel(Buildings): time 4.131/4.131, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.688e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5552, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.7478, allocations: 124.3 MB / 0.7503 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.7481, allocations: 75.89 kB / 0.7503 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01147/0.7596, allocations: 2.631 MB / 0.7529 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7596, allocations: 0 / 0.7529 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.7597, allocations: 8 kB / 0.7529 GB, free: 0.5625 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00123/0.7609, allocations: 0.5195 MB / 0.7534 GB, free: 0 / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.761, allocations: 8.266 kB / 0.7534 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.7611, allocations: 23.72 kB / 0.7535 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.7615, allocations: 246.5 kB / 0.7537 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.7616, allocations: 12 kB / 0.7537 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.7617, allocations: 15.98 kB / 0.7537 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004342/0.7621, allocations: 160 kB / 0.7539 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.7626, allocations: 189 kB / 0.754 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7626, allocations: 0 / 0.754 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.7627, allocations: 11.98 kB / 0.7541 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.483e-06/0.7627, allocations: 4 kB / 0.7541 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.7645, allocations: 0.6527 MB / 0.7547 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.765, allocations: 182.3 kB / 0.7549 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.7652, allocations: 104.8 kB / 0.755 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.7653, allocations: 4 kB / 0.755 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.7658, allocations: 209.6 kB / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 3.808e-06/0.7658, allocations: 0 / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.0007701/0.7666, allocations: 310.1 kB / 0.7555 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.7666, allocations: 59.41 kB / 0.7555 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.7669, allocations: 155.2 kB / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.7669, allocations: 25.7 kB / 0.7557 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.7671, allocations: 136.5 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.7672, allocations: 59.11 kB / 0.7559 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.7672, allocations: 0 / 0.7559 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.7674, allocations: 338.8 kB / 0.7562 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.7676, allocations: 91.92 kB / 0.7563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.7679, allocations: 99.83 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.7681, allocations: 87.81 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.986e-06/0.7682, allocations: 7.953 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006224/0.7688, allocations: 253.9 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7688, allocations: 11.94 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.545e-06/0.7688, allocations: 0 / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7689, allocations: 0 / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.7695, allocations: 99.86 kB / 0.7568 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-06/0.7695, allocations: 0 / 0.7568 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.7699, allocations: 63.7 kB / 0.7569 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.77, allocations: 15.97 kB / 0.7569 GB, free: 12.27 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001674/0.7701, allocations: 122.7 kB / 0.757 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.7702, allocations: 23.75 kB / 0.757 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/0.7703, allocations: 23.19 kB / 0.7571 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.054e-06/0.7703, allocations: 4 kB / 0.7571 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.152e-06/0.7703, allocations: 0 / 0.7571 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-06/0.7703, allocations: 3.984 kB / 0.7571 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7714, allocations: 0.6389 MB / 0.7577 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7715, allocations: 0 / 0.7577 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.7719, allocations: 63.94 kB / 0.7578 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.416e-06/0.7719, allocations: 0 / 0.7578 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.7719, allocations: 11.98 kB / 0.7578 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.873e-06/0.772, allocations: 0 / 0.7578 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.783e-06/0.772, allocations: 0 / 0.7578 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.7727, allocations: 411.1 kB / 0.7582 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.7728, allocations: 100.7 kB / 0.7583 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.7729, allocations: 7.984 kB / 0.7583 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.7733, allocations: 59.94 kB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.7735, allocations: 43.92 kB / 0.7584 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.7736, allocations: 8 kB / 0.7584 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001364/0.7737, allocations: 124.3 kB / 0.7585 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.47e-07/0.7737, allocations: 0 / 0.7585 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004241/0.7742, allocations: 43.98 kB / 0.7585 GB, free: 10.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002032/0.7744, allocations: 129.1 kB / 0.7587 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006412/0.775, allocations: 252 kB / 0.7589 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.819e-06/0.7751, allocations: 0 / 0.7589 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.7754, allocations: 135.9 kB / 0.759 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.7758, allocations: 32.06 kB / 0.7591 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/0.7768, allocations: 332.2 kB / 0.7594 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.7772, allocations: 0.7479 MB / 0.7601 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.7775, allocations: 33.84 kB / 0.7601 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.7776, allocations: 15.44 kB / 0.7602 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of SimCode: time 1.785e-06/0.7776, allocations: 4 kB / 0.7602 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of Templates: time 0.007966/0.7856, allocations: 2.609 MB / 0.7627 GB, free: 6.203 MB / 0.6355 GB