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.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") 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.547/1.547, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.001107/0.001106, allocations: 186.4 kB / 330.8 MB, free: 476 kB / 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.716/1.716, allocations: 225.7 MB / 0.6016 GB, free: 1.656 MB / 426.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.0009787/0.0009788, allocations: 104.1 kB / 0.709 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004274, allocations: 12.97 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2466, allocations: 109.2 MB / 0.9328 GB, free: 6.289 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001381/0.248, allocations: 1.068 MB / 0.9338 GB, free: 5.211 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003114/0.2483, allocations: 131.7 kB / 0.9339 GB, free: 5.082 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.2484, allocations: 4 kB / 0.9339 GB, free: 5.078 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.568e-05/0.2485, allocations: 3.938 kB / 0.9339 GB, free: 5.074 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.2485, allocations: 0 / 0.9339 GB, free: 5.074 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.2487, allocations: 19.98 kB / 0.934 GB, free: 5.055 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.2488, allocations: 35.86 kB / 0.934 GB, free: 5.02 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2489, allocations: 8 kB / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.2489, allocations: 7.984 kB / 0.934 GB, free: 5.004 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.249, allocations: 19.91 kB / 0.934 GB, free: 4.984 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.249, allocations: 4 kB / 0.934 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.249, allocations: 4 kB / 0.934 GB, free: 4.977 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.2491, allocations: 11.92 kB / 0.934 GB, free: 4.965 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.2491, allocations: 33.64 kB / 0.9341 GB, free: 4.926 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.2492, allocations: 39.8 kB / 0.9341 GB, free: 4.887 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2493, allocations: 0 / 0.9341 GB, free: 4.887 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2493, allocations: 0 / 0.9341 GB, free: 4.887 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2493, allocations: 0 / 0.9341 GB, free: 4.887 MB / 0.573 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.0004678/0.2497, allocations: 351.7 kB / 0.9345 GB, free: 4.492 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2498, allocations: 11.98 kB / 0.9345 GB, free: 4.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.2498, allocations: 4.938 kB / 0.9345 GB, free: 4.477 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.25, allocations: 172.4 kB / 0.9346 GB, free: 4.27 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.25, allocations: 384 / 0.9346 GB, free: 4.27 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.2501, allocations: 4.375 kB / 0.9346 GB, free: 4.266 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.2503, allocations: 66.22 kB / 0.9347 GB, free: 4.195 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2503, allocations: 12.12 kB / 0.9347 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2503, allocations: 3.938 kB / 0.9347 GB, free: 4.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2503, allocations: 0 / 0.9347 GB, free: 4.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2505, allocations: 55.89 kB / 0.9348 GB, free: 4.125 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2508, allocations: 284.7 kB / 0.935 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.251, allocations: 46.5 kB / 0.9351 GB, free: 3.742 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.2511, allocations: 40.83 kB / 0.9351 GB, free: 3.699 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.2511, allocations: 0 / 0.9351 GB, free: 3.699 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2511, allocations: 30.56 kB / 0.9352 GB, free: 3.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2511, allocations: 0 / 0.9352 GB, free: 3.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0003543/0.2515, allocations: 101.6 kB / 0.9352 GB, free: 3.555 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2515, allocations: 51.41 kB / 0.9353 GB, free: 3.492 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.2516, allocations: 109.8 kB / 0.9354 GB, free: 3.375 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.2516, allocations: 25.7 kB / 0.9354 GB, free: 3.344 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.2517, allocations: 88.14 kB / 0.9355 GB, free: 3.254 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.2517, allocations: 7.969 kB / 0.9355 GB, free: 3.246 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2517, allocations: 4 kB / 0.9355 GB, free: 3.242 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.2517, allocations: 318.8 kB / 0.9358 GB, free: 2.922 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.2518, allocations: 27.92 kB / 0.9359 GB, free: 2.895 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.2519, allocations: 23.98 kB / 0.9359 GB, free: 2.871 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.2521, allocations: 52.88 kB / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2521, allocations: 0 / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.2523, allocations: 81.66 kB / 0.936 GB, free: 2.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2523, allocations: 7.906 kB / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2523, allocations: 0 / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2523, allocations: 4 kB / 0.936 GB, free: 2.719 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2524, allocations: 11.98 kB / 0.936 GB, free: 2.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2524, allocations: 0 / 0.936 GB, free: 2.707 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.2525, allocations: 16.02 kB / 0.936 GB, free: 2.691 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2525, allocations: 7.938 kB / 0.9361 GB, free: 2.684 MB / 0.573 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.000107/0.2526, allocations: 111 kB / 0.9362 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.2527, allocations: 4 kB / 0.9362 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2527, allocations: 11.06 kB / 0.9362 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2527, allocations: 3.984 kB / 0.9362 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2527, allocations: 256 / 0.9362 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2527, allocations: 0 / 0.9362 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2528, allocations: 181.6 kB / 0.9363 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2528, allocations: 0 / 0.9363 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.2529, allocations: 12 kB / 0.9364 GB, free: 2.305 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.2529, allocations: 3.984 kB / 0.9364 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2529, allocations: 0 / 0.9364 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2529, allocations: 0 / 0.9364 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2529, allocations: 7.922 kB / 0.9364 GB, free: 2.293 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.2532, allocations: 179.5 kB / 0.9365 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.2532, allocations: 77.11 kB / 0.9366 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2532, allocations: 0 / 0.9366 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.2533, allocations: 19.92 kB / 0.9366 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.2534, allocations: 8.016 kB / 0.9366 GB, free: 1.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.2534, allocations: 4 kB / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.2534, allocations: 83.28 kB / 0.9367 GB, free: 1.895 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2534, allocations: 0 / 0.9367 GB, free: 1.895 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001875/0.2536, allocations: 4 kB / 0.9367 GB, free: 1.891 MB / 0.573 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.0001053/0.2537, allocations: 104.9 kB / 0.9368 GB, free: 1.781 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.254, allocations: 55.89 kB / 0.9369 GB, free: 1.727 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.254, allocations: 0 / 0.9369 GB, free: 1.727 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.2541, allocations: 31.97 kB / 0.9369 GB, free: 1.695 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2543, allocations: 8.062 kB / 0.9369 GB, free: 1.688 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.2546, allocations: 144.5 kB / 0.9371 GB, free: 1.516 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2547, allocations: 0.677 MB / 0.9377 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.2548, allocations: 4 kB / 0.9377 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.2548, allocations: 15.42 kB / 0.9377 GB, free: 0.793 MB / 0.573 GB Notification: Performance of SimCode: time 2.21e-07/0.2548, allocations: 4 kB / 0.9377 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of Templates: time 0.002224/0.2571, allocations: 0.5087 MB / 0.9382 GB, free: 292 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)