Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 255.9 MB / 271.2 MB, free: 8.93 MB / 218.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.001114/0.001114, allocations: 188.1 kB / 330.8 MB, free: 0.4961 MB / 250.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.778/1.778, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.000798/0.0007979, allocations: 103.8 kB / 0.709 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 7.969 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2389, allocations: 109.2 MB / 0.9328 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001388/0.2403, allocations: 1.053 MB / 0.9338 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.2406, allocations: 103.8 kB / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.2407, allocations: 0 / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.954e-05/0.2408, allocations: 0 / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.2408, allocations: 11.86 kB / 0.9339 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.2409, allocations: 4 kB / 0.9339 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.241, allocations: 23.92 kB / 0.9339 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2411, allocations: 12 kB / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.2412, allocations: 11.92 kB / 0.9339 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.2412, allocations: 7.938 kB / 0.934 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2413, allocations: 4 kB / 0.934 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.2413, allocations: 0 / 0.934 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.2413, allocations: 7.984 kB / 0.934 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.2414, allocations: 33.64 kB / 0.934 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.929e-05/0.2415, allocations: 31.88 kB / 0.934 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2415, allocations: 3.984 kB / 0.934 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2415, allocations: 0 / 0.934 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2415, allocations: 4 kB / 0.934 GB, free: 22.8 MB / 0.5886 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.0003917/0.2419, allocations: 335.8 kB / 0.9344 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.242, allocations: 15.98 kB / 0.9344 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.242, allocations: 4.844 kB / 0.9344 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2422, allocations: 176.4 kB / 0.9345 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2422, allocations: 384 / 0.9345 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2422, allocations: 4.375 kB / 0.9345 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2424, allocations: 62.23 kB / 0.9346 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2424, allocations: 4.125 kB / 0.9346 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2424, allocations: 11.92 kB / 0.9346 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2424, allocations: 3.938 kB / 0.9346 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2426, allocations: 43.97 kB / 0.9347 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.243, allocations: 280.8 kB / 0.9349 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.2431, allocations: 46.48 kB / 0.935 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2432, allocations: 24.91 kB / 0.935 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.2432, allocations: 0 / 0.935 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2432, allocations: 30.56 kB / 0.935 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2432, allocations: 4 kB / 0.935 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0003202/0.2436, allocations: 93.64 kB / 0.9351 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.2436, allocations: 55.53 kB / 0.9352 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.2437, allocations: 97.84 kB / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.2437, allocations: 33.7 kB / 0.9353 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.2437, allocations: 80.14 kB / 0.9354 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.2437, allocations: 3.906 kB / 0.9354 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.2438, allocations: 0 / 0.9354 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.2438, allocations: 318.7 kB / 0.9357 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.2439, allocations: 31.97 kB / 0.9357 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.244, allocations: 15.98 kB / 0.9357 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2441, allocations: 48.89 kB / 0.9358 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2441, allocations: 3.938 kB / 0.9358 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001599/0.2443, allocations: 73.66 kB / 0.9359 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2443, allocations: 4 kB / 0.9359 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2443, allocations: 4.031 kB / 0.9359 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2443, allocations: 0 / 0.9359 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.2444, allocations: 11.98 kB / 0.9359 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2444, allocations: 0 / 0.9359 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.2445, allocations: 11.94 kB / 0.9359 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2445, allocations: 0 / 0.9359 GB, free: 20.68 MB / 0.5886 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.572e-05/0.2446, allocations: 122.4 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.2446, allocations: 8 kB / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.2446, allocations: 3.125 kB / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2446, allocations: 0 / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2446, allocations: 0 / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2446, allocations: 3.938 kB / 0.936 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2448, allocations: 165.6 kB / 0.9362 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2448, allocations: 0 / 0.9362 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.2448, allocations: 8 kB / 0.9362 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2448, allocations: 0 / 0.9362 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2448, allocations: 4.25 kB / 0.9362 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2448, allocations: 0 / 0.9362 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2449, allocations: 7.984 kB / 0.9362 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.2451, allocations: 175.4 kB / 0.9364 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.2451, allocations: 81.09 kB / 0.9364 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2451, allocations: 0 / 0.9364 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.2452, allocations: 8 kB / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.2452, allocations: 7.922 kB / 0.9365 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2452, allocations: 0 / 0.9365 GB, free: 20 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.162e-05/0.2453, allocations: 79.28 kB / 0.9365 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2453, allocations: 0 / 0.9365 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001821/0.2454, allocations: 12.03 kB / 0.9365 GB, free: 19.91 MB / 0.5886 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.0001069/0.2456, allocations: 103.2 kB / 0.9366 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.2458, allocations: 43.95 kB / 0.9367 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2458, allocations: 4.062 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.2458, allocations: 19.98 kB / 0.9367 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2461, allocations: 7.875 kB / 0.9367 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.2464, allocations: 120.6 kB / 0.9368 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.2465, allocations: 0.6887 MB / 0.9375 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.2466, allocations: 0 / 0.9375 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.2466, allocations: 11.44 kB / 0.9375 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.2466, allocations: 7.875 kB / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of Templates: time 0.002157/0.2488, allocations: 352.5 kB / 0.9379 GB, free: 18.5 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)