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.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.879/1.879, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001758/0.001758, allocations: 184.2 kB / 393.1 MB, free: 4.094 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.537/1.537, 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.000893/0.0008931, allocations: 89.52 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004459, allocations: 12 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7616, allocations: 121.3 MB / 1.041 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001005/0.7627, allocations: 375.8 kB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.7636, allocations: 0.7817 MB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.7637, allocations: 0 / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.767e-05/0.7638, allocations: 9.25 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.7638, allocations: 4.156 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.764, allocations: 7.859 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.764, allocations: 26.08 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7641, allocations: 3.312 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.7642, allocations: 13.41 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.7643, allocations: 10.05 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.7643, allocations: 1.156 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.7643, allocations: 1.219 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.7644, allocations: 9.047 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.7644, allocations: 39.61 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.799e-05/0.7645, allocations: 29.2 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7645, allocations: 0 / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7645, allocations: 0 / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7645, allocations: 0 / 1.042 GB, free: 57.7 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.0004354/0.765, allocations: 342.7 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.765, allocations: 10.66 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.765, allocations: 3.156 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.7652, allocations: 176.6 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7652, allocations: 1.656 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.7652, allocations: 9.359 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.7654, allocations: 58.52 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.7655, allocations: 0.7031 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.7655, allocations: 6 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7655, allocations: 1.594 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.7657, allocations: 51.73 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.7661, allocations: 281.5 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.7662, allocations: 40.92 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.7663, allocations: 26.91 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.7663, allocations: 0 / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.7663, allocations: 35.73 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.7663, allocations: 1.906 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0003375/0.7667, allocations: 99.94 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.7667, allocations: 51.41 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.7668, allocations: 104.2 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.7668, allocations: 27.36 kB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.7668, allocations: 84.31 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.7669, allocations: 3.984 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.7669, allocations: 4 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.7669, allocations: 318.8 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.767, allocations: 19.72 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.7671, allocations: 23.38 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.7672, allocations: 49.05 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7672, allocations: 0 / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001677/0.7674, allocations: 78.42 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7674, allocations: 10.28 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.7675, allocations: 6.281 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7675, allocations: 2.438 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.7676, allocations: 9.141 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.7676, allocations: 0 / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.7676, allocations: 10.44 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.7676, allocations: 1.312 kB / 1.044 GB, free: 56.01 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 5.956e-05/0.7677, allocations: 122.1 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.7677, allocations: 0 / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.7677, allocations: 6.766 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.7678, allocations: 0 / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7678, allocations: 6.438 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7678, allocations: 0 / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.7679, allocations: 164.6 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7679, allocations: 0 / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.768, allocations: 12.66 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.768, allocations: 4 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.768, allocations: 0 / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.768, allocations: 0 / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.768, allocations: 2.766 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.7682, allocations: 172.7 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.7682, allocations: 81.02 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.7682, allocations: 2 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.7683, allocations: 8.234 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.7684, allocations: 0.75 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.7684, allocations: 3.062 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.7684, allocations: 83.28 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7684, allocations: 32 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001819/0.7686, allocations: 7.719 kB / 1.045 GB, free: 55.36 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.0001092/0.7687, allocations: 106.3 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.7689, allocations: 43.12 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7689, allocations: 4.062 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.769, allocations: 23.25 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.7693, allocations: 13.05 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.7696, allocations: 120.7 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.7697, allocations: 0.6833 MB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.7698, allocations: 1.438 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.7698, allocations: 10.41 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.7698, allocations: 0 / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of Templates: time 0.002203/0.772, allocations: 352.7 kB / 1.046 GB, free: 54.36 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1)