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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.077/4.077, allocations: 433.3 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.019e-05, allocations: 8 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.505, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.6959, allocations: 123.6 MB / 0.7496 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.6962, allocations: 67.95 kB / 0.7497 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002189/0.6984, allocations: 0.6767 MB / 0.7503 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.418e-06/0.6984, allocations: 0 / 0.7503 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.407e-06/0.6985, allocations: 0 / 0.7503 GB, free: 3.238 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.0004146/0.6989, allocations: 339.7 kB / 0.7506 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6989, allocations: 12.03 kB / 0.7506 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.699, allocations: 4 kB / 0.7507 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.6992, allocations: 178.9 kB / 0.7508 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6992, allocations: 0 / 0.7508 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.6993, allocations: 4 kB / 0.7508 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.503e-05/0.6994, allocations: 15.94 kB / 0.7508 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.6995, allocations: 41.69 kB / 0.7509 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-06/0.6995, allocations: 0 / 0.7509 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-06/0.6995, allocations: 0 / 0.7509 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-06/0.6995, allocations: 0 / 0.7509 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.7, allocations: 261.4 kB / 0.7511 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.7001, allocations: 26.58 kB / 0.7512 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.7001, allocations: 12.92 kB / 0.7512 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.7002, allocations: 4 kB / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.7003, allocations: 47.41 kB / 0.7512 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.287e-06/0.7003, allocations: 0 / 0.7512 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001667/0.7005, allocations: 49.64 kB / 0.7513 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.7005, allocations: 51.41 kB / 0.7513 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7006, allocations: 112.8 kB / 0.7514 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7007, allocations: 25.7 kB / 0.7514 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.7008, allocations: 92.12 kB / 0.7515 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.7008, allocations: 3.906 kB / 0.7515 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-06/0.7008, allocations: 3.938 kB / 0.7515 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.701, allocations: 314.8 kB / 0.7518 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.701, allocations: 4 kB / 0.7518 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.701, allocations: 21.7 kB / 0.7519 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.7011, allocations: 4 kB / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-06/0.7011, allocations: 0 / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.7012, allocations: 57.62 kB / 0.7519 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7013, allocations: 4 kB / 0.7519 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-06/0.7013, allocations: 192 / 0.7519 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7013, allocations: 0 / 0.7519 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.7014, allocations: 7.938 kB / 0.7519 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.7014, allocations: 0 / 0.7519 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.7015, allocations: 19.92 kB / 0.752 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-06/0.7015, allocations: 0 / 0.752 GB, free: 1.348 MB / 0.6198 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 0.0001012/0.7016, allocations: 109 kB / 0.7521 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.7016, allocations: 7.906 kB / 0.7521 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.7017, allocations: 4.125 kB / 0.7521 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.7017, allocations: 0 / 0.7521 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7017, allocations: 0 / 0.7521 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-06/0.7017, allocations: 0 / 0.7521 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.7019, allocations: 146.4 kB / 0.7522 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.335e-06/0.7019, allocations: 4 kB / 0.7522 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-06/0.7019, allocations: 0 / 0.7522 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.555e-06/0.7019, allocations: 0 / 0.7522 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.702, allocations: 8 kB / 0.7522 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-06/0.702, allocations: 0 / 0.7522 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/0.702, allocations: 0 / 0.7522 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.7021, allocations: 77.02 kB / 0.7523 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.7022, allocations: 81.11 kB / 0.7524 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.7022, allocations: 3.984 kB / 0.7524 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.7023, allocations: 4 kB / 0.7524 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.7024, allocations: 11.98 kB / 0.7524 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-06/0.7024, allocations: 0 / 0.7524 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.235e-05/0.7024, allocations: 83.28 kB / 0.7525 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.7025, allocations: 0 / 0.7525 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000253/0.7027, allocations: 4 kB / 0.7525 GB, free: 0.7344 MB / 0.6198 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.0001371/0.7029, allocations: 103.2 kB / 0.7526 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.703, allocations: 23.92 kB / 0.7526 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.703, allocations: 0 / 0.7526 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.703, allocations: 12.06 kB / 0.7526 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.7033, allocations: 11.95 kB / 0.7526 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.7035, allocations: 63.94 kB / 0.7527 GB, free: 500 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.7039, allocations: 0.6846 MB / 0.7534 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.704, allocations: 4 kB / 0.7534 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.704, allocations: 11.44 kB / 0.7534 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.44e-06/0.704, allocations: 3.938 kB / 0.7534 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.002881/0.7069, allocations: 442.3 kB / 0.7538 GB, free: 15.34 MB / 0.6355 GB