Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0103/0.0103, allocations: 89.67 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001177/0.001177, allocations: 173.9 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.109/2.109, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.366/2.366, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 12.06 kB / 0.6243 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001686/0.23, allocations: 1.032 MB / 0.7291 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004906/0.2305, allocations: 182 kB / 0.7293 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.2306, allocations: 0 / 0.7293 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.01e-05/0.2307, allocations: 4 kB / 0.7293 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.2307, allocations: 11.98 kB / 0.7293 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2309, allocations: 15.92 kB / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.231, allocations: 19.91 kB / 0.7293 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.2311, allocations: 4 kB / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.2311, allocations: 11.98 kB / 0.7293 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.2312, allocations: 7.938 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2312, allocations: 0 / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.2312, allocations: 4 kB / 0.7293 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.2313, allocations: 7.984 kB / 0.7293 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.2313, allocations: 37.64 kB / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.166e-05/0.2314, allocations: 27.94 kB / 0.7294 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2314, allocations: 0 / 0.7294 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2315, allocations: 0 / 0.7294 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2315, allocations: 0 / 0.7294 GB, free: 8.773 MB / 0.5573 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.0005421/0.232, allocations: 343.6 kB / 0.7297 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2321, allocations: 12.03 kB / 0.7297 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.2321, allocations: 34.55 kB / 0.7298 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.2322, allocations: 7.906 kB / 0.7298 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2324, allocations: 175 kB / 0.7299 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2324, allocations: 4 kB / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.2324, allocations: 0 / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2326, allocations: 53.67 kB / 0.73 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2326, allocations: 0 / 0.73 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2326, allocations: 3.938 kB / 0.73 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2326, allocations: 0 / 0.73 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.418e-05/0.2327, allocations: 12 kB / 0.73 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.2332, allocations: 288.8 kB / 0.7303 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.2333, allocations: 30.52 kB / 0.7303 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2333, allocations: 0 / 0.7303 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.2335, allocations: 63.45 kB / 0.7304 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.2335, allocations: 3.938 kB / 0.7304 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002049/0.2338, allocations: 53.64 kB / 0.7304 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.2338, allocations: 51.41 kB / 0.7305 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2339, allocations: 113.8 kB / 0.7306 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.234, allocations: 25.7 kB / 0.7306 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.234, allocations: 88.05 kB / 0.7307 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.234, allocations: 7.938 kB / 0.7307 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.2341, allocations: 4 kB / 0.7307 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2342, allocations: 310.8 kB / 0.731 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.2342, allocations: 11.98 kB / 0.731 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.2343, allocations: 21.72 kB / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.2343, allocations: 4 kB / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2343, allocations: 0 / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2345, allocations: 57.86 kB / 0.7311 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2345, allocations: 12.03 kB / 0.7311 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2345, allocations: 3.984 kB / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2345, allocations: 0 / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.2346, allocations: 7.953 kB / 0.7311 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2346, allocations: 3.984 kB / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.2347, allocations: 4 kB / 0.7311 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2347, allocations: 4 kB / 0.7311 GB, free: 6.762 MB / 0.5573 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.0001052/0.2348, allocations: 109.8 kB / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.2349, allocations: 11.98 kB / 0.7313 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.2349, allocations: 3.75 kB / 0.7313 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2349, allocations: 0 / 0.7313 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.2349, allocations: 7.953 kB / 0.7313 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.235, allocations: 7.938 kB / 0.7313 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2351, allocations: 157.7 kB / 0.7314 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2351, allocations: 4 kB / 0.7314 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.2352, allocations: 0 / 0.7314 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2352, allocations: 3.938 kB / 0.7314 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2352, allocations: 4 kB / 0.7314 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2352, allocations: 0 / 0.7314 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2352, allocations: 4 kB / 0.7314 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2354, allocations: 80.92 kB / 0.7315 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.2354, allocations: 77.11 kB / 0.7316 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.2355, allocations: 3.984 kB / 0.7316 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.2356, allocations: 12 kB / 0.7316 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2356, allocations: 3.984 kB / 0.7316 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2357, allocations: 4 kB / 0.7316 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.2357, allocations: 83.28 kB / 0.7317 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2357, allocations: 0 / 0.7317 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002625/0.236, allocations: 11.95 kB / 0.7317 GB, free: 6.082 MB / 0.5573 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.0004567/0.2365, allocations: 0.6124 MB / 0.7323 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.2366, allocations: 20 kB / 0.7323 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2366, allocations: 0 / 0.7323 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.2367, allocations: 19.91 kB / 0.7323 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.2369, allocations: 8 kB / 0.7323 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.2377, allocations: 0.5435 MB / 0.7329 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.238, allocations: 0.6848 MB / 0.7335 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.762e-05/0.2381, allocations: 3.984 kB / 0.7335 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.2382, allocations: 19.38 kB / 0.7336 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/0.2382, allocations: 96 / 0.7336 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.259, allocations: 1.2 MB / 0.7347 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.2594, allocations: 200.8 kB / 0.7349 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.465, allocations: 3.938 kB / 0.7349 GB, free: 2.73 MB / 0.5573 GB