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.01033/0.01033, allocations: 222.8 kB / 15.17 MB, free: 5.93 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.001094/0.001094, allocations: 178.1 kB / 16.06 MB, free: 5.828 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 3.944/3.944, allocations: 389 MB / 405.9 MB, free: 11.74 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.227/4.227, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004923, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 98.74 MB / 1.104 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001199/0.1352, allocations: 1.012 MB / 1.105 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000384/0.1356, allocations: 181.9 kB / 1.105 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.1357, allocations: 0 / 1.105 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.387e-05/0.1358, allocations: 0 / 1.105 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.1358, allocations: 3.938 kB / 1.105 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1359, allocations: 11.98 kB / 1.105 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.136, allocations: 30.77 kB / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.686e-05/0.1361, allocations: 4 kB / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1361, allocations: 15.92 kB / 1.105 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.1362, allocations: 11.92 kB / 1.105 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1362, allocations: 0 / 1.105 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.1362, allocations: 4 kB / 1.105 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1363, allocations: 11.27 kB / 1.105 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.1363, allocations: 29.7 kB / 1.105 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.983e-05/0.1364, allocations: 19.95 kB / 1.105 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.47e-06/0.1364, allocations: 4 kB / 1.105 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.112e-06/0.1364, allocations: 0 / 1.105 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.972e-06/0.1364, allocations: 0 / 1.105 GB, free: 40.64 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.0003915/0.1368, allocations: 348.1 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1369, allocations: 8.031 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1369, allocations: 18.86 kB / 1.106 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1371, allocations: 167.7 kB / 1.106 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1371, allocations: 0 / 1.106 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1371, allocations: 8 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1372, allocations: 41.69 kB / 1.106 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.442e-06/0.1372, allocations: 0 / 1.106 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1373, allocations: 0.5156 kB / 1.106 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-06/0.1373, allocations: 11.14 kB / 1.106 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.1373, allocations: 15.98 kB / 1.106 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1378, allocations: 280.9 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.1378, allocations: 27.2 kB / 1.106 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.1379, allocations: 12.92 kB / 1.106 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.748e-06/0.1379, allocations: 3.953 kB / 1.106 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.138, allocations: 63.33 kB / 1.106 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.263e-06/0.1381, allocations: 0.7188 kB / 1.106 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.1382, allocations: 53.59 kB / 1.106 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.1383, allocations: 57.59 kB / 1.106 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.1384, allocations: 109.8 kB / 1.107 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.1384, allocations: 29.7 kB / 1.107 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1384, allocations: 92.06 kB / 1.107 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.1385, allocations: 7.156 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-06/0.1385, allocations: 4 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.1385, allocations: 310.8 kB / 1.107 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.1386, allocations: 11.98 kB / 1.107 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.1386, allocations: 21.66 kB / 1.107 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.1386, allocations: 5.359 kB / 1.107 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-06/0.1387, allocations: 2.656 kB / 1.107 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.1388, allocations: 57.64 kB / 1.107 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1388, allocations: 4 kB / 1.107 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1388, allocations: 3.938 kB / 1.107 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1389, allocations: 4 kB / 1.107 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.1389, allocations: 0 / 1.107 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.771e-06/0.1389, allocations: 1.438 kB / 1.107 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.139, allocations: 23.77 kB / 1.107 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-06/0.139, allocations: 0 / 1.107 GB, free: 38.67 MB / 0.6042 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.888e-05/0.1391, allocations: 117.2 kB / 1.107 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.1392, allocations: 3.953 kB / 1.107 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.1392, allocations: 11.48 kB / 1.107 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-06/0.1392, allocations: 1.172 kB / 1.107 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.046e-06/0.1392, allocations: 0 / 1.107 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-06/0.1392, allocations: 0 / 1.107 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1394, allocations: 161.7 kB / 1.107 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-06/0.1394, allocations: 3.406 kB / 1.107 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.1394, allocations: 4 kB / 1.107 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.352e-06/0.1394, allocations: 0 / 1.107 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-06/0.1394, allocations: 7.953 kB / 1.107 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-06/0.1394, allocations: 0 / 1.107 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1394, allocations: 0 / 1.107 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.1395, allocations: 73.06 kB / 1.107 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.1396, allocations: 84.89 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1396, allocations: 0 / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.1397, allocations: 15.94 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1397, allocations: 7.984 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-06/0.1398, allocations: 0 / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.1398, allocations: 84.03 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.88e-07/0.1398, allocations: 2.844 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002494/0.1401, allocations: 8 kB / 1.108 GB, free: 38 MB / 0.6042 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.0001017/0.1402, allocations: 103.2 kB / 1.108 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1403, allocations: 23.92 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.679e-06/0.1403, allocations: 3.469 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.1404, allocations: 12 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1406, allocations: 7.984 kB / 1.108 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1409, allocations: 134.6 kB / 1.108 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1411, allocations: 0.682 MB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.1411, allocations: 7.984 kB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.1412, allocations: 7.438 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.472e-06/0.1412, allocations: 2.812 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.002755/0.1439, allocations: 464.4 kB / 1.109 GB, free: 36.54 MB / 0.6042 GB