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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01543/0.01543, allocations: 106.6 kB / 15.05 MB, free: 5.984 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.001806/0.001806, allocations: 184.9 kB / 15.94 MB, free: 5.941 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.983/1.983, allocations: 194.5 MB / 211.2 MB, free: 11.1 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.255/2.255, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 8 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6631, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/0.8858, allocations: 124.3 MB / 0.8048 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.8862, allocations: 71.95 kB / 0.8049 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002355/0.8885, allocations: 0.6743 MB / 0.8056 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8886, allocations: 0 / 0.8056 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8886, allocations: 0 / 0.8056 GB, free: 1.242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004621/0.8891, allocations: 343.3 kB / 0.8059 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.8891, allocations: 12.03 kB / 0.8059 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.8892, allocations: 30.56 kB / 0.8059 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.8892, allocations: 11.91 kB / 0.8059 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.8894, allocations: 186.9 kB / 0.8061 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.8894, allocations: 0 / 0.8061 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.8895, allocations: 4 kB / 0.8061 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.8896, allocations: 45.69 kB / 0.8062 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.8896, allocations: 0 / 0.8062 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.8896, allocations: 0 / 0.8062 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.8896, allocations: 0 / 0.8062 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.8897, allocations: 15.98 kB / 0.8062 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.8902, allocations: 288.8 kB / 0.8065 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.8903, allocations: 26.58 kB / 0.8065 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.8904, allocations: 0 / 0.8065 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.8905, allocations: 59.38 kB / 0.8065 GB, free: 68 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.8905, allocations: 3.938 kB / 0.8065 GB, free: 64 kB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.8907, allocations: 65.78 kB / 0.8066 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8908, allocations: 55.39 kB / 0.8067 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.8909, allocations: 97 kB / 0.8068 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8909, allocations: 25.7 kB / 0.8068 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.891, allocations: 91.95 kB / 0.8069 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.891, allocations: 7.984 kB / 0.8069 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.891, allocations: 4 kB / 0.8069 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8911, allocations: 310.8 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.8912, allocations: 8 kB / 0.8072 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.8912, allocations: 21.7 kB / 0.8072 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.8913, allocations: 8 kB / 0.8072 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.8913, allocations: 0 / 0.8072 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.8914, allocations: 57.53 kB / 0.8073 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.8914, allocations: 12.03 kB / 0.8073 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8914, allocations: 0 / 0.8073 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8915, allocations: 0 / 0.8073 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.8915, allocations: 4 kB / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8915, allocations: 3.953 kB / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.8916, allocations: 11.92 kB / 0.8073 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.8917, allocations: 0 / 0.8073 GB, free: 15.24 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 () * 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 9.452e-05/0.8918, allocations: 113.8 kB / 0.8074 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.8918, allocations: 7.938 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.8918, allocations: 7.5 kB / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8918, allocations: 0 / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8918, allocations: 0 / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8919, allocations: 3.953 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.892, allocations: 161.7 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.892, allocations: 0 / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.8921, allocations: 4 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8921, allocations: 256 / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.8921, allocations: 4 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8921, allocations: 4 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8921, allocations: 7.984 kB / 0.8076 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.8923, allocations: 77.02 kB / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.8923, allocations: 81.02 kB / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.8924, allocations: 0 / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.8924, allocations: 15.98 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.8925, allocations: 3.938 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.8925, allocations: 0 / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.8926, allocations: 91.27 kB / 0.8079 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8926, allocations: 0 / 0.8079 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002276/0.8928, allocations: 8 kB / 0.8079 GB, free: 14.56 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 () * 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.0004059/0.8932, allocations: 0.6086 MB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.8934, allocations: 28.2 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8934, allocations: 0 / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.8934, allocations: 8 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.8936, allocations: 13.88 kB / 0.8085 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/0.8944, allocations: 0.5531 MB / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.8947, allocations: 0.6848 MB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.8948, allocations: 4 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.8948, allocations: 19.42 kB / 0.8097 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.8948, allocations: 0 / 0.8097 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.9139, allocations: 1.187 MB / 0.8109 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.9143, allocations: 203.2 kB / 0.8111 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.337, allocations: 0 / 0.8111 GB, free: 11.21 MB / 0.6355 GB