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.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") 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.498/1.498, 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.001327/0.001327, allocations: 191.1 kB / 330.8 MB, free: 496 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.765/1.765, allocations: 225.7 MB / 0.6016 GB, free: 1.68 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.0008722/0.0008727, allocations: 103.6 kB / 0.709 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 8.625 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 109.2 MB / 0.9328 GB, free: 6.27 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001525/0.2106, allocations: 1.329 MB / 0.9341 GB, free: 4.93 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.2111, allocations: 255.2 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.2112, allocations: 7.938 kB / 0.9343 GB, free: 4.672 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.2113, allocations: 7.922 kB / 0.9343 GB, free: 4.664 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.2114, allocations: 27.8 kB / 0.9343 GB, free: 4.637 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2116, allocations: 63.86 kB / 0.9344 GB, free: 4.574 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.2119, allocations: 219.4 kB / 0.9346 GB, free: 4.359 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.212, allocations: 61.5 kB / 0.9347 GB, free: 4.297 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.2121, allocations: 75.75 kB / 0.9347 GB, free: 4.223 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2123, allocations: 119.5 kB / 0.9349 GB, free: 4.105 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.2123, allocations: 8 kB / 0.9349 GB, free: 4.098 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.2124, allocations: 12 kB / 0.9349 GB, free: 4.086 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.2124, allocations: 51.81 kB / 0.9349 GB, free: 4.035 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.2125, allocations: 105.2 kB / 0.935 GB, free: 3.926 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2127, allocations: 231.4 kB / 0.9353 GB, free: 3.699 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2127, allocations: 0 / 0.9353 GB, free: 3.699 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2127, allocations: 0 / 0.9353 GB, free: 3.699 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2127, allocations: 0 / 0.9353 GB, free: 3.699 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001039/0.2138, allocations: 0.5497 MB / 0.9358 GB, free: 3.098 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2138, allocations: 15.98 kB / 0.9358 GB, free: 3.082 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.2139, allocations: 16.75 kB / 0.9358 GB, free: 3.066 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2141, allocations: 241.7 kB / 0.936 GB, free: 2.793 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2141, allocations: 12.38 kB / 0.9361 GB, free: 2.781 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2142, allocations: 20.36 kB / 0.9361 GB, free: 2.762 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.2149, allocations: 309.7 kB / 0.9364 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2149, allocations: 192 / 0.9364 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.2149, allocations: 15.92 kB / 0.9364 GB, free: 2.438 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2149, allocations: 4 kB / 0.9364 GB, free: 2.434 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009319/0.2159, allocations: 343.7 kB / 0.9367 GB, free: 2.098 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2172, allocations: 0.6949 MB / 0.9374 GB, free: 1.352 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.218, allocations: 311.8 kB / 0.9377 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.2185, allocations: 204.7 kB / 0.9379 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2185, allocations: 4 kB / 0.9379 GB, free: 0.832 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006932/0.2192, allocations: 310.1 kB / 0.9382 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.2192, allocations: 0 / 0.9382 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of matching and sorting (n=27): time 0.00178/0.221, allocations: 0.6923 MB / 0.9389 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.2211, allocations: 63.39 kB / 0.9389 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2213, allocations: 174.5 kB / 0.9391 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2213, allocations: 37.7 kB / 0.9391 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.2214, allocations: 132.5 kB / 0.9393 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.2215, allocations: 71.08 kB / 0.9393 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.2215, allocations: 4 kB / 0.9393 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2216, allocations: 334.8 kB / 0.9396 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.2221, allocations: 191.7 kB / 0.9398 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.2227, allocations: 204.8 kB / 0.94 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.2236, allocations: 372.6 kB / 0.9404 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2236, allocations: 0 / 0.9404 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001147/0.2248, allocations: 473.2 kB / 0.9408 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2248, allocations: 7.906 kB / 0.9408 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2248, allocations: 4 kB / 0.9408 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2248, allocations: 7.938 kB / 0.9409 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.2253, allocations: 91.84 kB / 0.9409 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2253, allocations: 0 / 0.9409 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.2256, allocations: 79.72 kB / 0.941 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.2257, allocations: 4 kB / 0.941 GB, free: 13.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.2258, allocations: 160.2 kB / 0.9412 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2259, allocations: 23.72 kB / 0.9412 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.2259, allocations: 30.48 kB / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.226, allocations: 0 / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.226, allocations: 4 kB / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.226, allocations: 0 / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2275, allocations: 0.8621 MB / 0.9421 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2275, allocations: 7.938 kB / 0.9421 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.2279, allocations: 55.94 kB / 0.9421 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2279, allocations: 8 kB / 0.9421 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.2279, allocations: 7.984 kB / 0.9421 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.2279, allocations: 8 kB / 0.9422 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2279, allocations: 3.938 kB / 0.9422 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.2293, allocations: 0.5909 MB / 0.9427 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.2294, allocations: 92.86 kB / 0.9428 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.2294, allocations: 11.98 kB / 0.9428 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.2298, allocations: 55.94 kB / 0.9429 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.2299, allocations: 39.95 kB / 0.9429 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.23, allocations: 15.98 kB / 0.9429 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000136/0.2301, allocations: 131.2 kB / 0.9431 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2301, allocations: 0 / 0.9431 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003024/0.2304, allocations: 51.94 kB / 0.9431 GB, free: 11.32 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 (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.000196/0.2306, allocations: 127.5 kB / 0.9432 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.2319, allocations: 454 kB / 0.9437 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2319, allocations: 0 / 0.9437 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.2326, allocations: 239.8 kB / 0.9439 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.233, allocations: 39.8 kB / 0.9439 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.234, allocations: 0.514 MB / 0.9444 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2344, allocations: 0.7401 MB / 0.9452 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.2345, allocations: 37.92 kB / 0.9452 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.2346, allocations: 19.38 kB / 0.9452 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of SimCode: time 2.01e-07/0.2346, allocations: 0 / 0.9452 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of Templates: time 0.006328/0.241, allocations: 2.878 MB / 0.948 GB, free: 6.234 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)