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.009286/0.00929, allocations: 111 kB / 15.06 MB, free: 5.562 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.00112/0.00112, allocations: 178.9 kB / 15.95 MB, free: 5.523 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.941/1.941, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.521/2.521, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5398, allocations: 98.72 MB / 0.6833 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001318/0.5412, allocations: 1.012 MB / 0.6843 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.5416, allocations: 185 kB / 0.6845 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.5417, allocations: 0 / 0.6845 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.5418, allocations: 9.859 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.5418, allocations: 6.5 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.5419, allocations: 12.33 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.542, allocations: 17.66 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.5421, allocations: 3.906 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.5421, allocations: 14.27 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.5422, allocations: 10.94 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.5422, allocations: 1.562 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.5422, allocations: 1.469 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.5423, allocations: 8.719 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.5423, allocations: 36.48 kB / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.5424, allocations: 27.44 kB / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.518e-06/0.5424, allocations: 0 / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.995e-06/0.5424, allocations: 0 / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.983e-06/0.5425, allocations: 0 / 0.6847 GB, free: 15.72 MB / 0.5261 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.0003819/0.5428, allocations: 343.4 kB / 0.685 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5429, allocations: 12.58 kB / 0.685 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.5429, allocations: 11.86 kB / 0.685 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.5431, allocations: 169.6 kB / 0.6852 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5431, allocations: 1.438 kB / 0.6852 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.5431, allocations: 6.438 kB / 0.6852 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5432, allocations: 42.56 kB / 0.6852 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.5433, allocations: 3.938 kB / 0.6852 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5433, allocations: 0.7031 kB / 0.6852 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5433, allocations: 1.344 kB / 0.6852 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.5434, allocations: 18.97 kB / 0.6852 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.5438, allocations: 289.5 kB / 0.6855 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.5439, allocations: 32.27 kB / 0.6856 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-06/0.5439, allocations: 0 / 0.6856 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.544, allocations: 57.61 kB / 0.6856 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.191e-06/0.544, allocations: 0 / 0.6856 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001714/0.5442, allocations: 57.38 kB / 0.6857 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.5443, allocations: 57.44 kB / 0.6857 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.5443, allocations: 105.5 kB / 0.6858 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.5444, allocations: 25.7 kB / 0.6858 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.5444, allocations: 90.7 kB / 0.6859 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.5444, allocations: 1.281 kB / 0.6859 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5444, allocations: 5.594 kB / 0.6859 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.5445, allocations: 316.6 kB / 0.6862 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.5445, allocations: 4.438 kB / 0.6862 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.5446, allocations: 24.25 kB / 0.6863 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.5446, allocations: 13.11 kB / 0.6863 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-06/0.5446, allocations: 0.7812 kB / 0.6863 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.5447, allocations: 54.94 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5448, allocations: 9.375 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5448, allocations: 1.922 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5448, allocations: 1.125 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.505e-05/0.5449, allocations: 2.625 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.753e-06/0.5449, allocations: 4.703 kB / 0.6863 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.545, allocations: 7.75 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-06/0.545, allocations: 2.453 kB / 0.6864 GB, free: 13.99 MB / 0.5261 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 7.256e-05/0.5451, allocations: 114.7 kB / 0.6865 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.5451, allocations: 5.438 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.5451, allocations: 5.328 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.839e-06/0.5451, allocations: 1.344 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-06/0.5451, allocations: 4 kB / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.313e-06/0.5452, allocations: 4.656 kB / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.5453, allocations: 164.5 kB / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5453, allocations: 0 / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.5453, allocations: 5.812 kB / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.01e-06/0.5453, allocations: 0 / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-06/0.5453, allocations: 1.984 kB / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5454, allocations: 0 / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-06/0.5454, allocations: 5.094 kB / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.5455, allocations: 80.23 kB / 0.6867 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.5455, allocations: 83.02 kB / 0.6868 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.5456, allocations: 2.391 kB / 0.6868 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.5456, allocations: 7.281 kB / 0.6868 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.5457, allocations: 8.25 kB / 0.6868 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-06/0.5457, allocations: 0 / 0.6868 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.5457, allocations: 90.3 kB / 0.6869 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.33e-07/0.5458, allocations: 0 / 0.6869 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002522/0.546, allocations: 5.5 kB / 0.6869 GB, free: 13.39 MB / 0.5261 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.0001034/0.5461, allocations: 108.7 kB / 0.687 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5463, allocations: 23.11 kB / 0.687 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.636e-06/0.5463, allocations: 0 / 0.687 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.5463, allocations: 13.45 kB / 0.6871 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.5465, allocations: 16.86 kB / 0.6871 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.5468, allocations: 139.5 kB / 0.6872 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.547, allocations: 0.6833 MB / 0.6879 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.547, allocations: 3.875 kB / 0.6879 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.5471, allocations: 10.03 kB / 0.6879 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.289e-06/0.5471, allocations: 4 kB / 0.6879 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.002913/0.55, allocations: 445.3 kB / 0.6883 GB, free: 12.38 MB / 0.5261 GB