Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.761/1.761, allocations: 306.1 MB / 321.4 MB, free: 10.67 MB / 250.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.001022/0.001022, allocations: 187.4 kB / 393.1 MB, free: 4.043 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.552/1.552, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.0008649, allocations: 93.44 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8695, allocations: 121.3 MB / 1.041 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001165/0.8708, allocations: 378.1 kB / 1.041 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.872, allocations: 0.7818 MB / 1.042 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.8721, allocations: 1.25 kB / 1.042 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.8722, allocations: 9 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.8724, allocations: 4.906 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.459e-05/0.8724, allocations: 7.938 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.8726, allocations: 53.42 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.8728, allocations: 16.83 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.8728, allocations: 14.84 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.8729, allocations: 19 kB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.8729, allocations: 2.75 kB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.8729, allocations: 2.219 kB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.873, allocations: 22.8 kB / 1.042 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.8731, allocations: 50.61 kB / 1.042 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.8732, allocations: 65.83 kB / 1.042 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8732, allocations: 0 / 1.042 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8733, allocations: 1.375 kB / 1.042 GB, free: 56.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8733, allocations: 0 / 1.042 GB, free: 56.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006992/0.874, allocations: 390.4 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.874, allocations: 10 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.8741, allocations: 15.44 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.8743, allocations: 179.2 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.8743, allocations: 7.062 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.8744, allocations: 3.062 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.8748, allocations: 141.8 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8748, allocations: 4.125 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.8748, allocations: 3.938 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8748, allocations: 1 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.8752, allocations: 151.9 kB / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.8759, allocations: 451.3 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.8762, allocations: 99.59 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.8764, allocations: 78.89 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.8764, allocations: 0 / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.8764, allocations: 35.8 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.8765, allocations: 0 / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000713/0.8772, allocations: 233 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.8772, allocations: 79.69 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.8774, allocations: 119.8 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.8774, allocations: 25.7 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.8774, allocations: 94.56 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.8775, allocations: 10.5 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.8775, allocations: 0 / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.8776, allocations: 323.8 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.8777, allocations: 64.03 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.8779, allocations: 80.7 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.8783, allocations: 127.5 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8783, allocations: 1.031 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004143/0.8787, allocations: 163.4 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8788, allocations: 7.875 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8788, allocations: 0 / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.8788, allocations: 3.156 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.879, allocations: 28.62 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.879, allocations: 2.25 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.8791, allocations: 24.92 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.8791, allocations: 0 / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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.0001143/0.8793, allocations: 128.5 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.8793, allocations: 6.844 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.8794, allocations: 13.61 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8794, allocations: 0 / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8794, allocations: 0 / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8794, allocations: 4.312 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.8797, allocations: 176.6 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.8797, allocations: 1 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.8798, allocations: 26.14 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8798, allocations: 4.969 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.8798, allocations: 3.281 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8798, allocations: 3.094 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8799, allocations: 3.938 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.8804, allocations: 323.9 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.8804, allocations: 85.58 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.8804, allocations: 4.875 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.8806, allocations: 22.03 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.8807, allocations: 19.38 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8807, allocations: 0 / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.8807, allocations: 92.95 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8807, allocations: 0 / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002564/0.881, allocations: 8.562 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0001803/0.8812, allocations: 115 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.8817, allocations: 128 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8817, allocations: 0 / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.8819, allocations: 79.78 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.8823, allocations: 4.609 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.8828, allocations: 194 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.8831, allocations: 0.6996 MB / 1.047 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.868e-05/0.8832, allocations: 12.56 kB / 1.047 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.8832, allocations: 10.47 kB / 1.047 GB, free: 53.14 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.8832, allocations: 0 / 1.047 GB, free: 53.14 MB / 0.698 GB Notification: Performance of Templates: time 0.003247/0.8865, allocations: 0.6418 MB / 1.048 GB, free: 53.07 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)