Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.392/4.392, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.246e-05, allocations: 3.797 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.4073, allocations: 124.2 MB / 0.756 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4076, allocations: 71.95 kB / 0.7561 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00226/0.4099, allocations: 0.6651 MB / 0.7568 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.902e-06/0.4099, allocations: 0 / 0.7568 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.353e-06/0.41, allocations: 0 / 0.7568 GB, free: 4.758 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004202/0.4104, allocations: 346.6 kB / 0.7571 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4105, allocations: 12.03 kB / 0.7571 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.4105, allocations: 4 kB / 0.7571 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4107, allocations: 174.9 kB / 0.7573 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4108, allocations: 3.984 kB / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.4108, allocations: 8 kB / 0.7573 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4109, allocations: 45.62 kB / 0.7573 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-06/0.4109, allocations: 0 / 0.7573 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.411, allocations: 4 kB / 0.7573 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.733e-06/0.411, allocations: 0 / 0.7573 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.4111, allocations: 12 kB / 0.7573 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.4116, allocations: 284.9 kB / 0.7576 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.4117, allocations: 26.52 kB / 0.7576 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.4118, allocations: 12.92 kB / 0.7577 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.735e-06/0.4118, allocations: 4 kB / 0.7577 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.4119, allocations: 59.39 kB / 0.7577 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.503e-06/0.4119, allocations: 0 / 0.7577 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001689/0.4121, allocations: 49.59 kB / 0.7578 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4122, allocations: 59.33 kB / 0.7578 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4123, allocations: 104.9 kB / 0.7579 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4123, allocations: 25.7 kB / 0.7579 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.4124, allocations: 92.14 kB / 0.758 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.4124, allocations: 3.906 kB / 0.758 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-06/0.4125, allocations: 0 / 0.758 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4126, allocations: 318.8 kB / 0.7583 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.4127, allocations: 4 kB / 0.7583 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.4128, allocations: 21.72 kB / 0.7584 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.4128, allocations: 4 kB / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-06/0.4128, allocations: 4 kB / 0.7584 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.4129, allocations: 53.62 kB / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.413, allocations: 4 kB / 0.7584 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-06/0.413, allocations: 0 / 0.7584 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.413, allocations: 0 / 0.7584 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.4131, allocations: 7.984 kB / 0.7584 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.282e-06/0.4131, allocations: 3.953 kB / 0.7584 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.4132, allocations: 8 kB / 0.7584 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-06/0.4132, allocations: 4 kB / 0.7584 GB, free: 2.809 MB / 0.6355 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 () * 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 9.131e-05/0.4133, allocations: 105 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.4133, allocations: 11.84 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.4134, allocations: 11.48 kB / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4134, allocations: 0 / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-06/0.4134, allocations: 3.938 kB / 0.7586 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.4134, allocations: 4.141 kB / 0.7586 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.4136, allocations: 165.6 kB / 0.7587 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-06/0.4137, allocations: 0 / 0.7587 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.4137, allocations: 7.984 kB / 0.7587 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4137, allocations: 0 / 0.7587 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-06/0.4137, allocations: 4 kB / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.152e-06/0.4137, allocations: 0 / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-06/0.4137, allocations: 0 / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.4139, allocations: 77.08 kB / 0.7588 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.414, allocations: 77.11 kB / 0.7589 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.414, allocations: 3.938 kB / 0.7589 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.4141, allocations: 11.98 kB / 0.7589 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.4141, allocations: 4 kB / 0.7589 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4142, allocations: 7.984 kB / 0.7589 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.792e-05/0.4142, allocations: 87.53 kB / 0.759 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.267e-06/0.4143, allocations: 0 / 0.759 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002583/0.4145, allocations: 7.938 kB / 0.759 GB, free: 2.137 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: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete 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.0001437/0.4147, allocations: 103.2 kB / 0.7591 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.4148, allocations: 16 kB / 0.7591 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.43e-06/0.4148, allocations: 8.062 kB / 0.7591 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.4149, allocations: 11.98 kB / 0.7591 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.4151, allocations: 9.828 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.4154, allocations: 82.52 kB / 0.7592 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4158, allocations: 0.6848 MB / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.4158, allocations: 4 kB / 0.7599 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.4158, allocations: 11.44 kB / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.923e-06/0.4159, allocations: 4 kB / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of Templates: time 0.002931/0.4188, allocations: 455.9 kB / 0.7604 GB, free: 0.7109 MB / 0.6355 GB