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.01627/0.01628, allocations: 110 kB / 15.06 MB, free: 5.555 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.00199/0.001989, allocations: 181.9 kB / 15.95 MB, free: 5.52 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.93/1.93, allocations: 194.5 MB / 211.3 MB, free: 11 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.242/2.242, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006724/0.0006726, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.6673, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001507/0.6688, allocations: 1.008 MB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.6693, allocations: 186 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.6693, allocations: 1.125 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.516e-05/0.6694, allocations: 4.875 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.344e-05/0.6695, allocations: 1.672 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.6696, allocations: 9.062 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.6697, allocations: 22.33 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.6698, allocations: 12.7 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.6698, allocations: 9.172 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.6699, allocations: 10.28 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.6699, allocations: 1.219 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.6699, allocations: 1.344 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.67, allocations: 8.953 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.67, allocations: 33.44 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.069e-05/0.6701, allocations: 22.53 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.6701, allocations: 0 / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6701, allocations: 0 / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.6702, allocations: 0 / 0.6847 GB, free: 15.79 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.0004453/0.6706, allocations: 351.6 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6707, allocations: 10.39 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.6707, allocations: 31.45 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.6707, allocations: 6.938 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.6709, allocations: 178.7 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6709, allocations: 1.594 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.6709, allocations: 1.594 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.671, allocations: 50.44 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.6711, allocations: 0.8906 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6711, allocations: 5.266 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6711, allocations: 1.312 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.6712, allocations: 14.27 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.6716, allocations: 293.5 kB / 0.6856 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.6717, allocations: 27.34 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.6717, allocations: 0 / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.6719, allocations: 53.78 kB / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.6719, allocations: 0 / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001818/0.6721, allocations: 61.98 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.6721, allocations: 57.14 kB / 0.6858 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.6722, allocations: 104.4 kB / 0.6859 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.6722, allocations: 26.8 kB / 0.686 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.6723, allocations: 90.22 kB / 0.686 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.6723, allocations: 7.062 kB / 0.686 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.6723, allocations: 0 / 0.686 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.6724, allocations: 317.4 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.6724, allocations: 8.766 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.6725, allocations: 23 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.6725, allocations: 7.25 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6725, allocations: 0 / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.6726, allocations: 55.23 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6727, allocations: 5.453 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6727, allocations: 1.344 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6727, allocations: 0 / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.6728, allocations: 7.656 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6728, allocations: 1.312 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.6729, allocations: 15.69 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.6729, allocations: 1.375 kB / 0.6865 GB, free: 14.01 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.462e-05/0.673, allocations: 114.5 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.673, allocations: 1.406 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.673, allocations: 5.625 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.673, allocations: 1.406 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.673, allocations: 9.203 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6731, allocations: 256 / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.6732, allocations: 167.4 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6732, allocations: 5.172 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.6732, allocations: 1.375 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6732, allocations: 0 / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.6732, allocations: 1.312 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6732, allocations: 0.5625 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6733, allocations: 0 / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.6734, allocations: 84.75 kB / 0.6868 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.6734, allocations: 91.23 kB / 0.6869 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.6734, allocations: 1.859 kB / 0.6869 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.6735, allocations: 7.672 kB / 0.6869 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.6736, allocations: 4.469 kB / 0.6869 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.6736, allocations: 0 / 0.6869 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.6736, allocations: 86.78 kB / 0.687 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6737, allocations: 0 / 0.687 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002499/0.6739, allocations: 10.27 kB / 0.687 GB, free: 13.41 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.0002944/0.6742, allocations: 0.6135 MB / 0.6876 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.6743, allocations: 22.25 kB / 0.6877 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6744, allocations: 4.906 kB / 0.6877 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.6744, allocations: 12.22 kB / 0.6877 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.6746, allocations: 9.422 kB / 0.6877 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.6753, allocations: 0.5362 MB / 0.6882 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.6755, allocations: 0.6872 MB / 0.6889 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.6755, allocations: 5.734 kB / 0.6889 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.6756, allocations: 13.39 kB / 0.6889 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.6756, allocations: 3.938 kB / 0.6889 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.6955, allocations: 1.2 MB / 0.6901 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.6959, allocations: 198.2 kB / 0.6903 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.983, allocations: 0 / 0.6903 GB, free: 11.14 MB / 0.5261 GB