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.004233/0.004232, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001146/0.001146, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.967/3.967, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.926/3.926, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7472/0.9219, allocations: 125 MB / 1.227 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.9221, allocations: 74.72 kB / 1.227 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01273/0.9349, allocations: 2.629 MB / 1.229 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9349, allocations: 192 / 1.229 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.935, allocations: 9.344 kB / 1.229 GB, free: 26.74 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.001623/0.9366, allocations: 0.5551 MB / 1.23 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9367, allocations: 8.031 kB / 1.23 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.9368, allocations: 22.8 kB / 1.23 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.9372, allocations: 248.8 kB / 1.23 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.9373, allocations: 16.28 kB / 1.23 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.9374, allocations: 20.27 kB / 1.23 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.9386, allocations: 301.9 kB / 1.231 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.9387, allocations: 1.641 kB / 1.231 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.9387, allocations: 16.81 kB / 1.231 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9387, allocations: 4 kB / 1.231 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.9405, allocations: 344.6 kB / 1.231 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.9429, allocations: 0.7029 MB / 1.232 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.9444, allocations: 317.8 kB / 1.232 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009794/0.9454, allocations: 210.8 kB / 1.232 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.9455, allocations: 4.516 kB / 1.232 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.9468, allocations: 314.4 kB / 1.232 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.008e-06/0.9468, allocations: 3.312 kB / 1.232 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.003194/0.95, allocations: 0.6831 MB / 1.233 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.9501, allocations: 56.72 kB / 1.233 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.9504, allocations: 186.6 kB / 1.233 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.9505, allocations: 36.45 kB / 1.233 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.9506, allocations: 127.6 kB / 1.233 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.9507, allocations: 70.89 kB / 1.233 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.9507, allocations: 6.781 kB / 1.233 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9509, allocations: 335.7 kB / 1.234 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009906/0.9519, allocations: 195.1 kB / 1.234 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000944/0.9528, allocations: 201.5 kB / 1.234 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.9538, allocations: 186.4 kB / 1.234 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9538, allocations: 0 / 1.234 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002062/0.9558, allocations: 473.1 kB / 1.235 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.9559, allocations: 4 kB / 1.235 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9559, allocations: 0 / 1.235 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.9559, allocations: 0 / 1.235 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/0.9567, allocations: 97.45 kB / 1.235 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.9568, allocations: 0.5469 kB / 1.235 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.9574, allocations: 71.17 kB / 1.235 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.9574, allocations: 9.375 kB / 1.235 GB, free: 22.63 MB / 0.6198 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.0002748/0.9577, allocations: 161.8 kB / 1.235 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.9578, allocations: 24.5 kB / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.9578, allocations: 22.89 kB / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9579, allocations: 7.344 kB / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9579, allocations: 0 / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9579, allocations: 0 / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.9603, allocations: 0.8714 MB / 1.236 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.9604, allocations: 2.438 kB / 1.236 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.9609, allocations: 63.86 kB / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.9609, allocations: 4 kB / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.961, allocations: 7.531 kB / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.961, allocations: 0 / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.961, allocations: 4 kB / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.9635, allocations: 0.5947 MB / 1.237 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.9636, allocations: 100.7 kB / 1.237 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.9637, allocations: 13.53 kB / 1.237 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.9643, allocations: 55.53 kB / 1.237 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.9645, allocations: 44.42 kB / 1.237 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.9645, allocations: 16.95 kB / 1.237 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000151/0.9647, allocations: 134.5 kB / 1.237 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9647, allocations: 0 / 1.237 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004388/0.9651, allocations: 55.06 kB / 1.237 GB, free: 37.01 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.0001747/0.9653, allocations: 115.9 kB / 1.237 GB, free: 36.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.9673, allocations: 447.4 kB / 1.238 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9674, allocations: 0 / 1.238 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.9684, allocations: 245.2 kB / 1.238 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.969, allocations: 39.86 kB / 1.238 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.9704, allocations: 0.4968 MB / 1.238 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.9708, allocations: 0.7431 MB / 1.239 GB, free: 35.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.9711, allocations: 34.48 kB / 1.239 GB, free: 35.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.9712, allocations: 19.97 kB / 1.239 GB, free: 35.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/0.9713, allocations: 0 / 1.239 GB, free: 35.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.00867/0.9799, allocations: 2.789 MB / 1.242 GB, free: 33.29 MB / 0.6355 GB