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.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006227/0.006227, allocations: 233.5 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.001771/0.001771, allocations: 174 kB / 16.7 MB, free: 5.449 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 4.076/4.076, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.012/4.012, allocations: 472.3 MB / 0.9024 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006565, allocations: 16 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1816, allocations: 98.71 MB / 1.105 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7728/0.9544, allocations: 124.3 MB / 1.226 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.9547, allocations: 72.53 kB / 1.226 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.002263/0.957, allocations: 0.6658 MB / 1.227 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.957, allocations: 0.875 kB / 1.227 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.957, allocations: 1.375 kB / 1.227 GB, free: 18.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004099/0.9575, allocations: 351.8 kB / 1.227 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9575, allocations: 11 kB / 1.227 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.9576, allocations: 4.562 kB / 1.227 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.9577, allocations: 177.6 kB / 1.227 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.9578, allocations: 5.938 kB / 1.227 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.9578, allocations: 6.359 kB / 1.227 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.9579, allocations: 45.75 kB / 1.227 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9579, allocations: 0 / 1.227 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9579, allocations: 2.391 kB / 1.227 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.958, allocations: 1.469 kB / 1.227 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.424e-05/0.958, allocations: 18.81 kB / 1.227 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.9585, allocations: 284.4 kB / 1.228 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.9586, allocations: 27.42 kB / 1.228 GB, free: 17.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.9586, allocations: 11.17 kB / 1.228 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.9587, allocations: 0.875 kB / 1.228 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.9588, allocations: 53.03 kB / 1.228 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.9588, allocations: 3.5 kB / 1.228 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002044/0.959, allocations: 64.69 kB / 1.228 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.9591, allocations: 53.36 kB / 1.228 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.9592, allocations: 105.2 kB / 1.228 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.9592, allocations: 29.27 kB / 1.228 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000605/0.9598, allocations: 87.75 kB / 1.228 GB, free: 33.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.9598, allocations: 5.188 kB / 1.228 GB, free: 33.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.9598, allocations: 0 / 1.228 GB, free: 33.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.96, allocations: 316 kB / 1.228 GB, free: 32.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.96, allocations: 9.156 kB / 1.228 GB, free: 32.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.96, allocations: 16.53 kB / 1.228 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.9601, allocations: 10.47 kB / 1.228 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9601, allocations: 3.938 kB / 1.228 GB, free: 32.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001186/0.9602, allocations: 55.73 kB / 1.228 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9603, allocations: 4.844 kB / 1.228 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9603, allocations: 1.828 kB / 1.228 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9603, allocations: 1.094 kB / 1.228 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.9604, allocations: 7.094 kB / 1.228 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9604, allocations: 5.125 kB / 1.228 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.9605, allocations: 11.3 kB / 1.228 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9605, allocations: 2 kB / 1.228 GB, free: 32.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001001/0.9606, allocations: 114.4 kB / 1.229 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.9606, allocations: 3.094 kB / 1.229 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.9607, allocations: 12.5 kB / 1.229 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9607, allocations: 0 / 1.229 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9607, allocations: 5.141 kB / 1.229 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9607, allocations: 3.938 kB / 1.229 GB, free: 32.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.9609, allocations: 169.1 kB / 1.229 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9609, allocations: 0 / 1.229 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-06/0.9609, allocations: 1.188 kB / 1.229 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9609, allocations: 0 / 1.229 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.961, allocations: 1.344 kB / 1.229 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.961, allocations: 6.031 kB / 1.229 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.961, allocations: 1.359 kB / 1.229 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.9611, allocations: 78.7 kB / 1.229 GB, free: 32.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.9612, allocations: 87.23 kB / 1.229 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.9612, allocations: 1.375 kB / 1.229 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.9613, allocations: 7.984 kB / 1.229 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.9613, allocations: 3.531 kB / 1.229 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.9613, allocations: 1.156 kB / 1.229 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.9614, allocations: 90.77 kB / 1.229 GB, free: 32.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9614, allocations: 0 / 1.229 GB, free: 32.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002633/0.9617, allocations: 9.766 kB / 1.229 GB, free: 32.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000122/0.9618, allocations: 105.7 kB / 1.229 GB, free: 32.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.9619, allocations: 19.28 kB / 1.229 GB, free: 32.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.962, allocations: 0 / 1.229 GB, free: 32.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.962, allocations: 16.83 kB / 1.229 GB, free: 32.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.9623, allocations: 12.11 kB / 1.229 GB, free: 32.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.9626, allocations: 138.9 kB / 1.229 GB, free: 31.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.963, allocations: 0.6824 MB / 1.23 GB, free: 31.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.9631, allocations: 5.688 kB / 1.23 GB, free: 31.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.9631, allocations: 8.094 kB / 1.23 GB, free: 31.26 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.9631, allocations: 7.406 kB / 1.23 GB, free: 31.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.003073/0.9662, allocations: 449.8 kB / 1.23 GB, free: 31.23 MB / 0.6198 GB