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.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00923/0.00923, allocations: 110.6 kB / 15.05 MB, free: 5.977 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.00112/0.00112, allocations: 183.9 kB / 15.94 MB, free: 5.938 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 2.01/2.01, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.239/2.239, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008381/0.0008382, allocations: 12 kB / 0.5869 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5639, allocations: 98.71 MB / 0.6833 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.7634, allocations: 124.3 MB / 0.8047 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.7637, allocations: 67.97 kB / 0.8047 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002156/0.7659, allocations: 0.6541 MB / 0.8054 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.961e-06/0.766, allocations: 0 / 0.8054 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.766, allocations: 0 / 0.8054 GB, free: 1.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006019/0.7666, allocations: 335.3 kB / 0.8057 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7667, allocations: 16.03 kB / 0.8057 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.7667, allocations: 3.906 kB / 0.8057 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.767, allocations: 182.9 kB / 0.8059 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.7671, allocations: 4 kB / 0.8059 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.7671, allocations: 4 kB / 0.8059 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.7674, allocations: 65.61 kB / 0.806 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7675, allocations: 0 / 0.806 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.7675, allocations: 0 / 0.806 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-06/0.7675, allocations: 4 kB / 0.806 GB, free: 392 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.7678, allocations: 43.95 kB / 0.806 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.7683, allocations: 284.9 kB / 0.8063 GB, free: 12 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.7685, allocations: 34.61 kB / 0.8063 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.7685, allocations: 0 / 0.8063 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.7686, allocations: 38.56 kB / 0.8064 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.815e-06/0.7686, allocations: 0 / 0.8064 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0004012/0.769, allocations: 97.62 kB / 0.8064 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.769, allocations: 59.36 kB / 0.8065 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.7691, allocations: 96.98 kB / 0.8066 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.7692, allocations: 25.7 kB / 0.8066 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.7692, allocations: 84.14 kB / 0.8067 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.7693, allocations: 3.906 kB / 0.8067 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.7693, allocations: 0 / 0.8067 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7694, allocations: 314.8 kB / 0.807 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.7696, allocations: 23.97 kB / 0.807 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-05/0.7697, allocations: 23.98 kB / 0.8071 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.7698, allocations: 15.98 kB / 0.8071 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-06/0.7698, allocations: 4.062 kB / 0.8071 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00025/0.77, allocations: 77.59 kB / 0.8071 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7701, allocations: 4 kB / 0.8072 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-06/0.7701, allocations: 0 / 0.8072 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.7701, allocations: 0 / 0.8072 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.7702, allocations: 16.02 kB / 0.8072 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.177e-06/0.7703, allocations: 0 / 0.8072 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.7703, allocations: 11.95 kB / 0.8072 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-06/0.7703, allocations: 0 / 0.8072 GB, free: 15.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001015/0.7705, allocations: 113.8 kB / 0.8073 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.7705, allocations: 0 / 0.8073 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.7705, allocations: 7.125 kB / 0.8073 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-06/0.7705, allocations: 7.938 kB / 0.8073 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.908e-06/0.7706, allocations: 0 / 0.8073 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-06/0.7706, allocations: 3.938 kB / 0.8073 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.7708, allocations: 161.6 kB / 0.8075 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-06/0.7708, allocations: 3.984 kB / 0.8075 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.7709, allocations: 8 kB / 0.8075 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.069e-06/0.7709, allocations: 0 / 0.8075 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-06/0.7709, allocations: 0 / 0.8075 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-06/0.7709, allocations: 256 / 0.8075 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7709, allocations: 0 / 0.8075 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.7713, allocations: 179.4 kB / 0.8076 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.7713, allocations: 85.02 kB / 0.8077 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.7714, allocations: 8.016 kB / 0.8077 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7715, allocations: 12 kB / 0.8077 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.7715, allocations: 0 / 0.8077 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-06/0.7716, allocations: 0 / 0.8077 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.907e-05/0.7716, allocations: 83.27 kB / 0.8078 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.97e-07/0.7716, allocations: 0 / 0.8078 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002951/0.7719, allocations: 7.938 kB / 0.8078 GB, free: 14.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001257/0.7721, allocations: 103.2 kB / 0.8079 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.7723, allocations: 43.95 kB / 0.808 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7723, allocations: 0 / 0.808 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7725, allocations: 31.98 kB / 0.808 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.7727, allocations: 5.844 kB / 0.808 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.773, allocations: 116.7 kB / 0.8081 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.7734, allocations: 0.677 MB / 0.8088 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.7735, allocations: 12.05 kB / 0.8088 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.7735, allocations: 7.438 kB / 0.8088 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of SimCode: time 1.479e-06/0.7735, allocations: 3.938 kB / 0.8088 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.00252/0.7761, allocations: 333.2 kB / 0.8091 GB, free: 12.89 MB / 0.6355 GB