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.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") 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.758/1.758, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.001032/0.001032, allocations: 182 kB / 382.3 MB, free: 14.83 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.661/1.661, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0009148/0.0009149, allocations: 94.09 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005976, allocations: 8.875 kB / 0.9059 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8624, allocations: 119.2 MB / 1.022 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001171/0.8637, allocations: 365.5 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.8647, allocations: 0.7851 MB / 1.023 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.8648, allocations: 1.375 kB / 1.023 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.8649, allocations: 3.938 kB / 1.023 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.8649, allocations: 7.875 kB / 1.023 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.865, allocations: 7.281 kB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.8651, allocations: 25.52 kB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.8652, allocations: 5.234 kB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.8653, allocations: 11.69 kB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.8653, allocations: 16.12 kB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.8654, allocations: 0 / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-06/0.8654, allocations: 0 / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.8654, allocations: 9.391 kB / 1.023 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.8655, allocations: 33.05 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.419e-05/0.8656, allocations: 27.7 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.8656, allocations: 3.188 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8656, allocations: 0 / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8656, allocations: 1.219 kB / 1.024 GB, free: 56.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004418/0.8661, allocations: 345.9 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8661, allocations: 10.53 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.8662, allocations: 5.281 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8663, allocations: 175.7 kB / 1.024 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.8663, allocations: 6.25 kB / 1.024 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.8663, allocations: 1.875 kB / 1.024 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.8665, allocations: 56.58 kB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.8665, allocations: 2.031 kB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8666, allocations: 5.312 kB / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8666, allocations: 0 / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.8668, allocations: 55.88 kB / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.8672, allocations: 287.2 kB / 1.024 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.8673, allocations: 34.97 kB / 1.024 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.8674, allocations: 28.23 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.8674, allocations: 1.188 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.8674, allocations: 35.08 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8674, allocations: 0 / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0003331/0.8678, allocations: 93.73 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.8678, allocations: 52.75 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.8679, allocations: 106 kB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.8679, allocations: 25.7 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.8679, allocations: 92.45 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.868, allocations: 0 / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.868, allocations: 0 / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.868, allocations: 317 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.8681, allocations: 20.47 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.8682, allocations: 23.62 kB / 1.025 GB, free: 55.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.8683, allocations: 47.11 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8684, allocations: 4.781 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000179/0.8685, allocations: 77.97 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8686, allocations: 9.562 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8686, allocations: 0 / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8686, allocations: 5.688 kB / 1.025 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.8687, allocations: 13.17 kB / 1.025 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8687, allocations: 0.7969 kB / 1.025 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.8688, allocations: 13.31 kB / 1.025 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.8688, allocations: 2.344 kB / 1.025 GB, free: 55.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.826e-05/0.8689, allocations: 115.2 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.8689, allocations: 1.531 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.8689, allocations: 13.61 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8689, allocations: 0 / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8689, allocations: 4 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8689, allocations: 2.031 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.8691, allocations: 163.6 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8691, allocations: 0.9688 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.8691, allocations: 10.05 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8691, allocations: 2.75 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.8692, allocations: 1.219 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8692, allocations: 0 / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8692, allocations: 0.7969 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.8694, allocations: 173.7 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.8694, allocations: 79.16 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.8695, allocations: 1.062 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.8695, allocations: 12.33 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.8696, allocations: 2.297 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.8696, allocations: 0 / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.8696, allocations: 85.23 kB / 1.026 GB, free: 54.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8696, allocations: 0 / 1.026 GB, free: 54.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002055/0.8699, allocations: 4.188 kB / 1.026 GB, free: 54.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001209/0.87, allocations: 106.2 kB / 1.026 GB, free: 54.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.8702, allocations: 45.47 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8702, allocations: 4.969 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-05/0.8703, allocations: 27.5 kB / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.8706, allocations: 9.938 kB / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.8709, allocations: 124.3 kB / 1.026 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.8711, allocations: 0.6796 MB / 1.027 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.8712, allocations: 4 kB / 1.027 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.8712, allocations: 11.5 kB / 1.027 GB, free: 53.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.8712, allocations: 5.188 kB / 1.027 GB, free: 53.7 MB / 0.698 GB Notification: Performance of Templates: time 0.002361/0.8736, allocations: 343.7 kB / 1.027 GB, free: 53.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)