Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.981/1.981, allocations: 297.4 MB / 312.6 MB, free: 2.902 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 178 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009576, allocations: 90.55 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006557/0.0006559, allocations: 11.22 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7867, allocations: 119.2 MB / 1.022 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0009023/0.7876, allocations: 380.6 kB / 1.023 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.7886, allocations: 0.8189 MB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.7887, allocations: 3.938 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.7888, allocations: 0.9688 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.588e-05/0.7888, allocations: 6.281 kB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.789, allocations: 17.53 kB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.7891, allocations: 34.28 kB / 1.024 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.7892, allocations: 5.266 kB / 1.024 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.7893, allocations: 18.38 kB / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.7893, allocations: 12.84 kB / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.7893, allocations: 5.594 kB / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.7894, allocations: 0 / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.7894, allocations: 13.17 kB / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.7895, allocations: 41.41 kB / 1.024 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.174e-05/0.7896, allocations: 31.19 kB / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7896, allocations: 0 / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7896, allocations: 1.344 kB / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7896, allocations: 0 / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004841/0.7901, allocations: 345.4 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7902, allocations: 11.78 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.7902, allocations: 4.859 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.7904, allocations: 186.3 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.7904, allocations: 5.5 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.7904, allocations: 5.031 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.7906, allocations: 66.06 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.7907, allocations: 2.188 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.7907, allocations: 7.219 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.7907, allocations: 2 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.7909, allocations: 56.25 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.7913, allocations: 278.4 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.7915, allocations: 46.28 kB / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.7916, allocations: 29.7 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.7916, allocations: 1.156 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.7916, allocations: 35.66 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7916, allocations: 0 / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004067/0.7921, allocations: 111.9 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.7921, allocations: 51.41 kB / 1.025 GB, free: 56.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.7922, allocations: 105 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.7922, allocations: 27.33 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.7923, allocations: 82.33 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.7923, allocations: 13.77 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.7923, allocations: 0 / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.7924, allocations: 322.4 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.7925, allocations: 24.12 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.7925, allocations: 24.22 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.7927, allocations: 61.77 kB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7927, allocations: 0 / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002225/0.793, allocations: 74.8 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.793, allocations: 13.22 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.793, allocations: 1.5 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.793, allocations: 4.031 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.7932, allocations: 11.78 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7932, allocations: 3.5 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.7933, allocations: 10.98 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.7933, allocations: 0 / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.7935, allocations: 120.1 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.7935, allocations: 5.984 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.7936, allocations: 7.688 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7936, allocations: 3.562 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7936, allocations: 0.7969 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7936, allocations: 0 / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.7938, allocations: 170.4 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7938, allocations: 0 / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.7939, allocations: 16.98 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7939, allocations: 0 / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.794, allocations: 1.984 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.794, allocations: 4.797 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.794, allocations: 0 / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.7943, allocations: 180.4 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.7943, allocations: 77.81 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.7943, allocations: 3.453 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/0.7944, allocations: 8.375 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.7945, allocations: 8.906 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.7945, allocations: 1.859 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.7946, allocations: 82.28 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7946, allocations: 0 / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002441/0.7949, allocations: 13.47 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.795, allocations: 111.8 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.7953, allocations: 55.94 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7953, allocations: 64 / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.7954, allocations: 34.88 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.7957, allocations: 4.734 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.7961, allocations: 126.8 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.7963, allocations: 0.6895 MB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.7964, allocations: 4.719 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.7964, allocations: 9.234 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.7964, allocations: 1.312 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of Templates: time 0.003224/0.7997, allocations: 0.5087 MB / 1.028 GB, free: 54.12 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)