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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 3.983/3.983, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.832e-05, allocations: 4.656 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.176, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.4515, allocations: 124.9 MB / 0.7567 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4518, allocations: 75.94 kB / 0.7568 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.4641, allocations: 2.639 MB / 0.7594 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4642, allocations: 0 / 0.7594 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.4642, allocations: 4 kB / 0.7594 GB, free: 2.078 MB / 0.6355 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.001218/0.4654, allocations: 0.5194 MB / 0.7599 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4655, allocations: 16.03 kB / 0.7599 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.4656, allocations: 23.72 kB / 0.7599 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.466, allocations: 246.8 kB / 0.7602 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.4661, allocations: 12 kB / 0.7602 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.4662, allocations: 19.94 kB / 0.7602 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.4667, allocations: 213 kB / 0.7604 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4667, allocations: 0 / 0.7604 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.4668, allocations: 11.98 kB / 0.7604 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4668, allocations: 7.938 kB / 0.7604 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.4673, allocations: 164 kB / 0.7606 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.4691, allocations: 0.6991 MB / 0.7613 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.4696, allocations: 182.3 kB / 0.7614 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.4699, allocations: 112.8 kB / 0.7615 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4699, allocations: 0 / 0.7615 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.4704, allocations: 224.2 kB / 0.7617 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.06e-06/0.4704, allocations: 0 / 0.7617 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.0008056/0.4713, allocations: 319.3 kB / 0.7621 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.4713, allocations: 59.39 kB / 0.7621 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4716, allocations: 177.5 kB / 0.7623 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.4716, allocations: 29.7 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4718, allocations: 124.7 kB / 0.7624 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.4719, allocations: 71.09 kB / 0.7625 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.4719, allocations: 4 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4721, allocations: 350.7 kB / 0.7628 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.4724, allocations: 95.98 kB / 0.7629 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.4727, allocations: 104.9 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.4729, allocations: 91.94 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.4729, allocations: 0 / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006665/0.4736, allocations: 277.8 kB / 0.7634 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4736, allocations: 4 kB / 0.7634 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-06/0.4737, allocations: 3.938 kB / 0.7634 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4737, allocations: 7.984 kB / 0.7634 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.4743, allocations: 91.88 kB / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.401e-06/0.4743, allocations: 0 / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.4747, allocations: 79.69 kB / 0.7636 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.4748, allocations: 4 kB / 0.7636 GB, free: 13.58 MB / 0.6511 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.0001647/0.4749, allocations: 138.6 kB / 0.7637 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.475, allocations: 23.8 kB / 0.7637 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.646e-05/0.4751, allocations: 30.55 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4751, allocations: 0 / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.645e-06/0.4751, allocations: 0 / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-06/0.4751, allocations: 7.984 kB / 0.7638 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4763, allocations: 0.6832 MB / 0.7644 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-06/0.4763, allocations: 3.938 kB / 0.7644 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.4767, allocations: 71.88 kB / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.022e-06/0.4768, allocations: 0 / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.4768, allocations: 8 kB / 0.7645 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-06/0.4768, allocations: 0 / 0.7645 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4768, allocations: 0 / 0.7645 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.4776, allocations: 428 kB / 0.7649 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.4777, allocations: 88.92 kB / 0.765 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.4778, allocations: 8 kB / 0.765 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.4782, allocations: 59.92 kB / 0.7651 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4784, allocations: 47.92 kB / 0.7651 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.4785, allocations: 11.98 kB / 0.7651 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001505/0.4786, allocations: 131.4 kB / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.96e-07/0.4786, allocations: 0 / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004284/0.4791, allocations: 59.83 kB / 0.7653 GB, free: 11.71 MB / 0.6511 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.0001893/0.4793, allocations: 115.2 kB / 0.7654 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006609/0.48, allocations: 270.2 kB / 0.7657 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.477e-06/0.48, allocations: 0 / 0.7657 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.4803, allocations: 147.9 kB / 0.7658 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.4807, allocations: 30.64 kB / 0.7658 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009465/0.4817, allocations: 346.1 kB / 0.7662 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.4821, allocations: 0.7482 MB / 0.7669 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.4824, allocations: 38.06 kB / 0.7669 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4825, allocations: 19.42 kB / 0.7669 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of SimCode: time 1.51e-06/0.4825, allocations: 0 / 0.7669 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of Templates: time 0.008225/0.4907, allocations: 2.787 MB / 0.7697 GB, free: 7.18 MB / 0.6511 GB