Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.52/2.52, allocations: 255 MB / 269.9 MB, free: 9.617 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.001468/0.001468, allocations: 196.5 kB / 329.5 MB, free: 1.133 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 2.597/2.597, allocations: 225.6 MB / 0.6001 GB, free: 472 kB / 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.000995/0.0009946, allocations: 104.2 kB / 0.7074 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005192, allocations: 11.59 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001883/0.2103, allocations: 1.322 MB / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006821/0.211, allocations: 267.2 kB / 0.9323 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.2111, allocations: 0 / 0.9323 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2113, allocations: 7.875 kB / 0.9323 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.2114, allocations: 19.8 kB / 0.9323 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2117, allocations: 55.92 kB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.212, allocations: 207.5 kB / 0.9326 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.2121, allocations: 57.64 kB / 0.9327 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.2123, allocations: 79.75 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.2125, allocations: 107.6 kB / 0.9328 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.2126, allocations: 8 kB / 0.9328 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.2126, allocations: 12 kB / 0.9328 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.2127, allocations: 47.88 kB / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.2128, allocations: 57.58 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.213, allocations: 175.8 kB / 0.9331 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.213, allocations: 4 kB / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/0.213, allocations: 0 / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2131, allocations: 0 / 0.9331 GB, free: 22.43 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001698/0.2148, allocations: 0.538 MB / 0.9336 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2148, allocations: 12.03 kB / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.2149, allocations: 24.66 kB / 0.9337 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2152, allocations: 236.5 kB / 0.9339 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.2153, allocations: 16.36 kB / 0.9339 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.2153, allocations: 16.38 kB / 0.9339 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.2166, allocations: 305.9 kB / 0.9342 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2167, allocations: 7.922 kB / 0.9342 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.2167, allocations: 15.97 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2167, allocations: 4 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.2185, allocations: 347.5 kB / 0.9346 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.2206, allocations: 0.6796 MB / 0.9353 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.2221, allocations: 320.3 kB / 0.9356 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009559/0.2231, allocations: 204.7 kB / 0.9358 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.2231, allocations: 8 kB / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.2243, allocations: 310.8 kB / 0.9361 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=27): time 3.427e-06/0.2244, allocations: 3.938 kB / 0.9361 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=27): time 0.003106/0.2275, allocations: 0.6918 MB / 0.9367 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2276, allocations: 59.41 kB / 0.9368 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2278, allocations: 186.2 kB / 0.937 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.2279, allocations: 41.69 kB / 0.937 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.2279, allocations: 120.6 kB / 0.9371 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.228, allocations: 71.09 kB / 0.9372 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.2281, allocations: 4 kB / 0.9372 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.2282, allocations: 330.8 kB / 0.9375 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009787/0.2291, allocations: 203.7 kB / 0.9377 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009491/0.2301, allocations: 193 kB / 0.9379 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.2311, allocations: 188.3 kB / 0.9381 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2311, allocations: 4 kB / 0.9381 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002121/0.2332, allocations: 464.9 kB / 0.9385 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.2333, allocations: 4 kB / 0.9385 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2333, allocations: 11.86 kB / 0.9385 GB, free: 16.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.2333, allocations: 3.938 kB / 0.9385 GB, free: 16.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.2341, allocations: 95.92 kB / 0.9386 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2342, allocations: 0 / 0.9386 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.2348, allocations: 71.72 kB / 0.9387 GB, free: 16.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.2348, allocations: 15.94 kB / 0.9387 GB, free: 16.49 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: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.2351, allocations: 147.6 kB / 0.9389 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.2351, allocations: 19.72 kB / 0.9389 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.747e-05/0.2352, allocations: 38.48 kB / 0.9389 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.2352, allocations: 4 kB / 0.9389 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2352, allocations: 0 / 0.9389 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2353, allocations: 7.938 kB / 0.9389 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.2377, allocations: 0.8585 MB / 0.9398 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2378, allocations: 0 / 0.9398 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.2383, allocations: 67.94 kB / 0.9398 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2383, allocations: 3.938 kB / 0.9398 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.2383, allocations: 4 kB / 0.9398 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2384, allocations: 3.984 kB / 0.9398 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2384, allocations: 0 / 0.9398 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.2405, allocations: 0.5994 MB / 0.9404 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.2406, allocations: 100.8 kB / 0.9405 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.2407, allocations: 11.98 kB / 0.9405 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.2413, allocations: 51.94 kB / 0.9406 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.2415, allocations: 47.92 kB / 0.9406 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.2415, allocations: 12 kB / 0.9406 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001209/0.2416, allocations: 135.4 kB / 0.9408 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2417, allocations: 0 / 0.9408 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003997/0.2421, allocations: 59.88 kB / 0.9408 GB, free: 14.23 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: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.2422, allocations: 123.7 kB / 0.9409 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.2443, allocations: 443.6 kB / 0.9414 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2443, allocations: 0 / 0.9414 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2454, allocations: 243.8 kB / 0.9416 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.2459, allocations: 27.92 kB / 0.9416 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2473, allocations: 0.5025 MB / 0.9421 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2475, allocations: 0.7323 MB / 0.9428 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.2478, allocations: 37.92 kB / 0.9429 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.2479, allocations: 19.44 kB / 0.9429 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of SimCode: time 1.192e-06/0.2479, allocations: 0 / 0.9429 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.008073/0.256, allocations: 2.787 MB / 0.9456 GB, free: 9.277 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)