Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01003/0.01004, allocations: 89.02 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001173/0.001172, allocations: 171.5 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.048/2.048, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.327/2.327, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006674/0.0006677, allocations: 15.19 kB / 0.6243 GB, free: 21.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2161, allocations: 106.2 MB / 0.7281 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002176/0.2183, allocations: 1.319 MB / 0.7294 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007166/0.2191, allocations: 272.1 kB / 0.7296 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.2191, allocations: 3.938 kB / 0.7296 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.802e-05/0.2193, allocations: 7.922 kB / 0.7296 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2194, allocations: 31.88 kB / 0.7297 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.2197, allocations: 51.94 kB / 0.7297 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.2199, allocations: 139.7 kB / 0.7298 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.2201, allocations: 45.72 kB / 0.7299 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2203, allocations: 83.72 kB / 0.73 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.2205, allocations: 107.6 kB / 0.7301 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.2205, allocations: 11.98 kB / 0.7301 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.2206, allocations: 8 kB / 0.7301 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.2207, allocations: 47.89 kB / 0.7301 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.2208, allocations: 57.58 kB / 0.7302 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.2211, allocations: 183.7 kB / 0.7304 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2211, allocations: 0 / 0.7304 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2211, allocations: 0 / 0.7304 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2211, allocations: 0 / 0.7304 GB, free: 5.77 MB / 0.5573 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.001741/0.2229, allocations: 0.5381 MB / 0.7309 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2229, allocations: 8.031 kB / 0.7309 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.681e-05/0.223, allocations: 54.53 kB / 0.731 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.2231, allocations: 31.67 kB / 0.731 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.2234, allocations: 223.8 kB / 0.7312 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.2235, allocations: 20 kB / 0.7312 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.2236, allocations: 19.98 kB / 0.7312 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2249, allocations: 293.4 kB / 0.7315 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2249, allocations: 3.938 kB / 0.7315 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.225, allocations: 11.98 kB / 0.7315 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.225, allocations: 4 kB / 0.7315 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.2269, allocations: 359.2 kB / 0.7319 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.2293, allocations: 0.6872 MB / 0.7325 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.2308, allocations: 314.3 kB / 0.7328 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2309, allocations: 7.938 kB / 0.7329 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/0.2322, allocations: 310.8 kB / 0.7331 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=27): time 3.907e-06/0.2323, allocations: 4 kB / 0.7332 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of matching and sorting (n=27): time 0.003441/0.2357, allocations: 0.6855 MB / 0.7338 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.2358, allocations: 63.28 kB / 0.7339 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.2361, allocations: 194.1 kB / 0.7341 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.2362, allocations: 41.69 kB / 0.7341 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2363, allocations: 120.6 kB / 0.7342 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/0.2364, allocations: 71.09 kB / 0.7343 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.2364, allocations: 4 kB / 0.7343 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2366, allocations: 342.8 kB / 0.7346 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.2376, allocations: 187.8 kB / 0.7348 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.2387, allocations: 195.9 kB / 0.735 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009847/0.2397, allocations: 185.5 kB / 0.7352 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2397, allocations: 0 / 0.7352 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002228/0.2419, allocations: 468.8 kB / 0.7356 GB, free: 176 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.242, allocations: 12 kB / 0.7356 GB, free: 164 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.242, allocations: 3.984 kB / 0.7356 GB, free: 160 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.242, allocations: 0 / 0.7356 GB, free: 160 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.2429, allocations: 91.86 kB / 0.7357 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2429, allocations: 0 / 0.7357 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/0.2435, allocations: 75.8 kB / 0.7358 GB, free: 15.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.2436, allocations: 8 kB / 0.7358 GB, free: 15.98 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: 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.0002632/0.2439, allocations: 163.5 kB / 0.7359 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2439, allocations: 23.66 kB / 0.736 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.244, allocations: 22.56 kB / 0.736 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.244, allocations: 7.984 kB / 0.736 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.244, allocations: 0 / 0.736 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2441, allocations: 0 / 0.736 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.2468, allocations: 0.8689 MB / 0.7368 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2469, allocations: 0 / 0.7368 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.2474, allocations: 63.94 kB / 0.7369 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.2474, allocations: 0 / 0.7369 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.2475, allocations: 8 kB / 0.7369 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2475, allocations: 0 / 0.7369 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.2475, allocations: 3.984 kB / 0.7369 GB, free: 14.76 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.2499, allocations: 0.5998 MB / 0.7375 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.25, allocations: 100.8 kB / 0.7376 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.167e-05/0.2501, allocations: 11.92 kB / 0.7376 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.2507, allocations: 55.94 kB / 0.7377 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.2509, allocations: 43.94 kB / 0.7377 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.251, allocations: 15.98 kB / 0.7377 GB, free: 13.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001539/0.2511, allocations: 135.2 kB / 0.7379 GB, free: 13.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2512, allocations: 0 / 0.7379 GB, free: 13.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004481/0.2516, allocations: 55.94 kB / 0.7379 GB, free: 13.72 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: 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.002748/0.2544, allocations: 1.148 MB / 0.739 GB, free: 12.54 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.2566, allocations: 456.7 kB / 0.7395 GB, free: 12.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2566, allocations: 0 / 0.7395 GB, free: 12.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.2578, allocations: 239.7 kB / 0.7397 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2583, allocations: 24.16 kB / 0.7397 GB, free: 11.84 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.264, allocations: 1.632 MB / 0.7413 GB, free: 10.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2645, allocations: 0.7478 MB / 0.742 GB, free: 9.375 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.2647, allocations: 33.94 kB / 0.7421 GB, free: 9.344 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.265, allocations: 67.34 kB / 0.7421 GB, free: 9.277 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/0.265, allocations: 3.938 kB / 0.7421 GB, free: 9.273 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.2912, allocations: 4.659 MB / 0.7467 GB, free: 4.73 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/0.2916, allocations: 197.4 kB / 0.7469 GB, free: 4.488 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/2.838, allocations: 0 / 0.7469 GB, free: 4.488 MB / 0.573 GB