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.01071/0.01071, allocations: 216.8 kB / 15.18 MB, free: 6 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.001093/0.001093, allocations: 179.4 kB / 16.06 MB, free: 5.863 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.778/3.778, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.517/4.517, allocations: 472.3 MB / 0.9018 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004886, allocations: 12 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6389, allocations: 98.71 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001301/0.6402, allocations: 1.047 MB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.6405, allocations: 111.2 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.6406, allocations: 0 / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.6406, allocations: 3.938 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.887e-05/0.6407, allocations: 2.812 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 8.013e-05/0.6408, allocations: 6.047 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.6408, allocations: 23.22 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.6409, allocations: 1.906 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.6409, allocations: 12.41 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.176e-05/0.641, allocations: 6.766 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.641, allocations: 4.344 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-06/0.641, allocations: 0 / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.6411, allocations: 17.36 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.6411, allocations: 26.92 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 5.449e-05/0.6412, allocations: 24.03 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.764e-06/0.6412, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.392e-06/0.6412, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.75e-06/0.6412, allocations: 3.281 kB / 1.105 GB, free: 212.2 MB / 0.7292 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.0003375/0.6416, allocations: 333.7 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6416, allocations: 11.69 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.6416, allocations: 3.906 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6418, allocations: 177.1 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.6418, allocations: 3.125 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.6418, allocations: 2.781 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.642, allocations: 63.39 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.392e-06/0.642, allocations: 3.938 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-06/0.642, allocations: 2.188 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6421, allocations: 3.344 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.6423, allocations: 44.59 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.6426, allocations: 283.8 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6428, allocations: 40.52 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.6429, allocations: 28.83 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.6429, allocations: 6.844 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.6429, allocations: 30.56 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.99e-06/0.6429, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0003669/0.6433, allocations: 101 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.6434, allocations: 56.16 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.887e-05/0.6434, allocations: 106 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-06/0.6434, allocations: 25.7 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.6435, allocations: 87.8 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.6435, allocations: 3.906 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-06/0.6435, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.6436, allocations: 312.5 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.6437, allocations: 25.56 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.6438, allocations: 17.94 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.6439, allocations: 25.67 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-06/0.6439, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002237/0.6441, allocations: 69.75 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6442, allocations: 6.094 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-06/0.6442, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6442, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.6443, allocations: 16.12 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6443, allocations: 8.734 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.6444, allocations: 8.078 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-06/0.6444, allocations: 1.094 kB / 1.107 GB, free: 210.6 MB / 0.7292 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 5.871e-05/0.6445, allocations: 113.7 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.6445, allocations: 1.094 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.6445, allocations: 7.594 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-06/0.6445, allocations: 1.094 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-06/0.6446, allocations: 2.438 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.6446, allocations: 8.984 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.6447, allocations: 161.1 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-06/0.6447, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.6448, allocations: 10.66 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-06/0.6448, allocations: 1.688 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-06/0.6448, allocations: 2.062 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-06/0.6449, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-06/0.6449, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.6451, allocations: 171.4 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.6451, allocations: 84.39 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.6452, allocations: 5.062 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.6453, allocations: 11.06 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.6453, allocations: 1.688 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-06/0.6453, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.6454, allocations: 84.83 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.14e-07/0.6454, allocations: 3.062 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002866/0.6457, allocations: 4.781 kB / 1.108 GB, free: 209.9 MB / 0.7292 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 8.825e-05/0.6458, allocations: 106.3 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.646, allocations: 43.86 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.592e-06/0.646, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.6462, allocations: 23.16 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.6465, allocations: 12.42 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.6468, allocations: 117.7 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.6469, allocations: 0.6852 MB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.647, allocations: 4.422 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.647, allocations: 8.812 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of SimCode: time 1.325e-06/0.647, allocations: 3.938 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of Templates: time 0.002474/0.6495, allocations: 341.7 kB / 1.109 GB, free: 209 MB / 0.7292 GB