Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01057/0.01057, allocations: 220.3 kB / 15.17 MB, free: 6.012 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001105/0.001105, allocations: 176.2 kB / 16.06 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.524/3.524, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.398/4.398, allocations: 472.3 MB / 0.9017 GB, free: 87.65 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007733/0.0007736, allocations: 13.72 kB / 1.008 GB, free: 37.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1741, allocations: 98.72 MB / 1.104 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00204/0.1762, allocations: 1.326 MB / 1.105 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.1769, allocations: 262 kB / 1.106 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.177, allocations: 3.938 kB / 1.106 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.704e-05/0.1771, allocations: 13.91 kB / 1.106 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.1771, allocations: 19.84 kB / 1.106 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1774, allocations: 55.81 kB / 1.106 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1777, allocations: 204 kB / 1.106 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1779, allocations: 50.28 kB / 1.106 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.178, allocations: 83.72 kB / 1.106 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1782, allocations: 101.5 kB / 1.106 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.1783, allocations: 8 kB / 1.106 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/0.1784, allocations: 12 kB / 1.106 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.1784, allocations: 51.81 kB / 1.106 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.1785, allocations: 54.55 kB / 1.106 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1788, allocations: 179.8 kB / 1.106 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.361e-06/0.1788, allocations: 5.406 kB / 1.106 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.426e-06/0.1788, allocations: 0 / 1.106 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1788, allocations: 0 / 1.106 GB, free: 9.383 MB / 0.5261 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.001332/0.1802, allocations: 0.5395 MB / 1.107 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1802, allocations: 8.031 kB / 1.107 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.1803, allocations: 29.02 kB / 1.107 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1807, allocations: 226.7 kB / 1.107 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.1807, allocations: 19.98 kB / 1.107 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.1808, allocations: 22.41 kB / 1.107 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1818, allocations: 300.2 kB / 1.107 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1818, allocations: 0.5312 kB / 1.107 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.1818, allocations: 11.98 kB / 1.108 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1819, allocations: 8 kB / 1.108 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.1832, allocations: 347.7 kB / 1.108 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.185, allocations: 0.691 MB / 1.109 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.1865, allocations: 314.2 kB / 1.109 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.1872, allocations: 204.7 kB / 1.109 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1873, allocations: 4 kB / 1.109 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000947/0.1882, allocations: 320.8 kB / 1.109 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 4.029e-06/0.1882, allocations: 0 / 1.109 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002399/0.1906, allocations: 0.6862 MB / 1.11 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.1907, allocations: 55.41 kB / 1.11 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.191, allocations: 192.1 kB / 1.11 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.1911, allocations: 29.7 kB / 1.11 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1912, allocations: 124.5 kB / 1.11 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.1913, allocations: 71.05 kB / 1.11 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.1914, allocations: 4 kB / 1.11 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1916, allocations: 342.8 kB / 1.111 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/0.1923, allocations: 191.8 kB / 1.111 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.193, allocations: 197.5 kB / 1.111 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.1937, allocations: 196.2 kB / 1.111 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.252e-06/0.1937, allocations: 3.938 kB / 1.111 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00158/0.1953, allocations: 464.9 kB / 1.112 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1954, allocations: 4 kB / 1.112 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.84e-06/0.1954, allocations: 0 / 1.112 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1954, allocations: 4 kB / 1.112 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.196, allocations: 95.86 kB / 1.112 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.196, allocations: 0 / 1.112 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.1964, allocations: 75.72 kB / 1.112 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.1965, allocations: 8 kB / 1.112 GB, free: 3.465 MB / 0.5261 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 () * Number of clocked 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.0002569/0.1967, allocations: 163.4 kB / 1.112 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.1968, allocations: 23.72 kB / 1.112 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.1969, allocations: 26.55 kB / 1.112 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-06/0.1969, allocations: 4 kB / 1.112 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.822e-06/0.1969, allocations: 8 kB / 1.112 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.399e-06/0.1969, allocations: 0 / 1.112 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.1991, allocations: 0.8573 MB / 1.113 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.513e-06/0.1991, allocations: 4 kB / 1.113 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.1995, allocations: 63.94 kB / 1.113 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.1995, allocations: 4 kB / 1.113 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.1996, allocations: 3.984 kB / 1.113 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.932e-06/0.1996, allocations: 4 kB / 1.113 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-06/0.1996, allocations: 0 / 1.113 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.2014, allocations: 0.6035 MB / 1.114 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2015, allocations: 96.77 kB / 1.114 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.2016, allocations: 11.98 kB / 1.114 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.202, allocations: 59.94 kB / 1.114 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.2022, allocations: 43.92 kB / 1.114 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.2023, allocations: 8 kB / 1.114 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001635/0.2025, allocations: 139.3 kB / 1.114 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/0.2025, allocations: 0 / 1.114 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000444/0.2029, allocations: 55.94 kB / 1.114 GB, free: 1.199 MB / 0.5261 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) * Number of clocked states: 0 () * 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.0001972/0.2031, allocations: 127.2 kB / 1.114 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.2047, allocations: 439.6 kB / 1.115 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.453e-06/0.2048, allocations: 4 kB / 1.115 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.2056, allocations: 247.7 kB / 1.115 GB, free: 396 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.2062, allocations: 35.88 kB / 1.115 GB, free: 364 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2077, allocations: 0.4903 MB / 1.115 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.2082, allocations: 0.7442 MB / 1.116 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000253/0.2084, allocations: 33.94 kB / 1.116 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2086, allocations: 19.44 kB / 1.116 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.785e-06/0.2086, allocations: 0 / 1.116 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.00863/0.2172, allocations: 2.787 MB / 1.119 GB, free: 12.25 MB / 0.5417 GB