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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01339/0.01339, allocations: 106.4 kB / 15.05 MB, free: 5.934 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.001912/0.001913, allocations: 183.8 kB / 15.95 MB, free: 5.898 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 1.995/1.995, allocations: 194.6 MB / 211.2 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.32/2.32, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004827, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.688, allocations: 98.72 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.9194, allocations: 125 MB / 0.8055 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.9198, allocations: 75.95 kB / 0.8056 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.9385, allocations: 2.635 MB / 0.8082 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9386, allocations: 0 / 0.8082 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.9386, allocations: 11.88 kB / 0.8082 GB, free: 14.52 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.002315/0.941, allocations: 0.5552 MB / 0.8087 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.941, allocations: 12.03 kB / 0.8087 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.9412, allocations: 46.73 kB / 0.8088 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.9413, allocations: 23.75 kB / 0.8088 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.942, allocations: 250.5 kB / 0.809 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.9421, allocations: 12 kB / 0.809 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.9422, allocations: 23.98 kB / 0.8091 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.9442, allocations: 312.9 kB / 0.8094 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.9442, allocations: 0 / 0.8094 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.9443, allocations: 11.98 kB / 0.8094 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.9443, allocations: 4 kB / 0.8094 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.947, allocations: 347.7 kB / 0.8097 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.9502, allocations: 0.6873 MB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.9523, allocations: 318.2 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.9524, allocations: 4 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.9542, allocations: 309 kB / 0.811 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 4.499e-06/0.9543, allocations: 0 / 0.811 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.004743/0.959, allocations: 0.6882 MB / 0.8117 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.9592, allocations: 63.39 kB / 0.8117 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.9595, allocations: 166.1 kB / 0.8119 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/0.9596, allocations: 33.7 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.9598, allocations: 128.5 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.9599, allocations: 67.09 kB / 0.8121 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.96, allocations: 8 kB / 0.8121 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.9602, allocations: 334.8 kB / 0.8124 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.9616, allocations: 191.8 kB / 0.8126 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.9631, allocations: 200.9 kB / 0.8128 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.9644, allocations: 188.3 kB / 0.813 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9644, allocations: 0 / 0.813 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002982/0.9674, allocations: 464.9 kB / 0.8134 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.9675, allocations: 4 kB / 0.8134 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9675, allocations: 0 / 0.8134 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.9676, allocations: 7.984 kB / 0.8134 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9687, allocations: 87.88 kB / 0.8135 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.9687, allocations: 0 / 0.8135 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.9696, allocations: 79.72 kB / 0.8136 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.9697, allocations: 4 kB / 0.8136 GB, free: 8.734 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 () * 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.0005132/0.9702, allocations: 167.4 kB / 0.8138 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.9703, allocations: 23.72 kB / 0.8138 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.9704, allocations: 26.55 kB / 0.8138 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.9705, allocations: 4 kB / 0.8138 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.9705, allocations: 0 / 0.8138 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.9705, allocations: 0 / 0.8138 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.9743, allocations: 0.8696 MB / 0.8147 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9743, allocations: 4 kB / 0.8147 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.9751, allocations: 63.88 kB / 0.8147 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.9751, allocations: 0 / 0.8147 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.9752, allocations: 11.98 kB / 0.8147 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.9752, allocations: 4 kB / 0.8147 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9752, allocations: 0 / 0.8147 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/0.9786, allocations: 0.5938 MB / 0.8153 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.9788, allocations: 100.8 kB / 0.8154 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.9789, allocations: 8 kB / 0.8154 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/0.9798, allocations: 63.88 kB / 0.8155 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.9801, allocations: 43.92 kB / 0.8155 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.9801, allocations: 15.92 kB / 0.8155 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000219/0.9804, allocations: 135.4 kB / 0.8157 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9804, allocations: 0 / 0.8157 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007425/0.9811, allocations: 59.98 kB / 0.8157 GB, free: 6.461 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) * 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.003742/0.9849, allocations: 1.156 MB / 0.8169 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003109/0.9881, allocations: 443.6 kB / 0.8173 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.9881, allocations: 4 kB / 0.8173 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.9897, allocations: 239.8 kB / 0.8175 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.9905, allocations: 20.17 kB / 0.8175 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007804/0.9983, allocations: 1.638 MB / 0.8191 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.9989, allocations: 0.7442 MB / 0.8199 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004069/0.9993, allocations: 41.91 kB / 0.8199 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.9996, allocations: 59.36 kB / 0.82 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.9996, allocations: 0 / 0.82 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/1.037, allocations: 4.668 MB / 0.8245 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/1.038, allocations: 196.5 kB / 0.8247 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.706, allocations: 3.938 kB / 0.8247 GB, free: 13.23 MB / 0.6511 GB