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.01545/0.01545, allocations: 111.3 kB / 15.06 MB, free: 6.031 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.001782/0.001782, allocations: 188.5 kB / 15.95 MB, free: 5.965 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.936/1.936, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.262/2.262, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 8 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6576, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.8905, allocations: 125 MB / 0.8054 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.8908, allocations: 75.95 kB / 0.8055 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.911, allocations: 2.639 MB / 0.8081 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9111, allocations: 0 / 0.8081 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.9111, allocations: 7.938 kB / 0.8081 GB, free: 14.55 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.001284/0.9124, allocations: 0.5474 MB / 0.8086 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.9125, allocations: 8.219 kB / 0.8086 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.9126, allocations: 27.69 kB / 0.8087 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.913, allocations: 250.5 kB / 0.8089 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.9131, allocations: 19.98 kB / 0.8089 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.9132, allocations: 20 kB / 0.8089 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009986/0.9142, allocations: 308.9 kB / 0.8092 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9142, allocations: 0 / 0.8092 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.9142, allocations: 8 kB / 0.8092 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-06/0.9143, allocations: 4 kB / 0.8092 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.9156, allocations: 351.7 kB / 0.8096 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.9175, allocations: 0.6835 MB / 0.8102 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.9186, allocations: 326.1 kB / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.9187, allocations: 4 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009547/0.9196, allocations: 309 kB / 0.8109 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 3.386e-06/0.9197, allocations: 4 kB / 0.8109 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.002479/0.9222, allocations: 0.6843 MB / 0.8115 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.9223, allocations: 59.41 kB / 0.8116 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.9225, allocations: 162.1 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.9226, allocations: 41.69 kB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.9227, allocations: 128.5 kB / 0.8119 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.9228, allocations: 59.11 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.9228, allocations: 8 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.923, allocations: 338.8 kB / 0.8123 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.9238, allocations: 191.8 kB / 0.8125 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.9245, allocations: 200.9 kB / 0.8127 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.9252, allocations: 184.3 kB / 0.8128 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.726e-06/0.9252, allocations: 3.984 kB / 0.8128 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001582/0.9268, allocations: 464.9 kB / 0.8133 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9269, allocations: 4 kB / 0.8133 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-06/0.9269, allocations: 4 kB / 0.8133 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9269, allocations: 4 kB / 0.8133 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.9275, allocations: 87.86 kB / 0.8134 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.525e-06/0.9275, allocations: 0 / 0.8134 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.928, allocations: 79.72 kB / 0.8135 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.928, allocations: 4 kB / 0.8135 GB, free: 8.832 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.0002572/0.9283, allocations: 163.5 kB / 0.8136 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.9284, allocations: 23.72 kB / 0.8136 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.9284, allocations: 26.55 kB / 0.8137 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-06/0.9285, allocations: 4 kB / 0.8137 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.345e-06/0.9285, allocations: 3.938 kB / 0.8137 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-06/0.9285, allocations: 0 / 0.8137 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.9306, allocations: 0.8761 MB / 0.8145 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.129e-06/0.9306, allocations: 7.984 kB / 0.8145 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.931, allocations: 67.88 kB / 0.8146 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.738e-06/0.9311, allocations: 0 / 0.8146 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.9311, allocations: 11.98 kB / 0.8146 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.624e-06/0.9311, allocations: 0 / 0.8146 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-06/0.9311, allocations: 0 / 0.8146 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.9328, allocations: 0.5927 MB / 0.8152 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.933, allocations: 96.77 kB / 0.8153 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.933, allocations: 11.98 kB / 0.8153 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.9335, allocations: 55.94 kB / 0.8153 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.9336, allocations: 47.92 kB / 0.8154 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.9337, allocations: 8 kB / 0.8154 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001598/0.9339, allocations: 143.3 kB / 0.8155 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.13e-07/0.9339, allocations: 0 / 0.8155 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004307/0.9343, allocations: 52 kB / 0.8156 GB, free: 6.559 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.0002009/0.9345, allocations: 119.2 kB / 0.8157 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.9361, allocations: 449.7 kB / 0.8161 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.771e-06/0.9362, allocations: 4 kB / 0.8161 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/0.937, allocations: 239.7 kB / 0.8164 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.9374, allocations: 34.48 kB / 0.8164 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.9387, allocations: 0.4908 MB / 0.8169 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.9392, allocations: 0.7442 MB / 0.8176 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.9394, allocations: 33.94 kB / 0.8176 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.9395, allocations: 19.44 kB / 0.8176 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of SimCode: time 1.739e-06/0.9395, allocations: 0 / 0.8176 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of Templates: time 0.008316/0.9479, allocations: 2.78 MB / 0.8204 GB, free: 1.625 MB / 0.6355 GB