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.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.01475/0.01475, allocations: 88.84 kB / 15.04 MB, free: 5.977 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.001607/0.001607, allocations: 171.5 kB / 15.92 MB, free: 5.938 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.102/2.102, 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.408/2.408, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006627, allocations: 11.97 kB / 0.6243 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2463, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002118/0.2484, allocations: 1.24 MB / 0.7293 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006057/0.2491, allocations: 213 kB / 0.7295 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.2492, allocations: 7.938 kB / 0.7295 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.2493, allocations: 11.91 kB / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2494, allocations: 27.89 kB / 0.7295 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.2496, allocations: 39.89 kB / 0.7296 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.2499, allocations: 99.8 kB / 0.7297 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.25, allocations: 25.42 kB / 0.7297 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2501, allocations: 59.83 kB / 0.7298 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2503, allocations: 71.72 kB / 0.7298 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.2503, allocations: 4 kB / 0.7298 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-05/0.2504, allocations: 8 kB / 0.7298 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.2505, allocations: 27.91 kB / 0.7299 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.2505, allocations: 49.62 kB / 0.7299 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2507, allocations: 108 kB / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2507, allocations: 0 / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2508, allocations: 0 / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2508, allocations: 0 / 0.73 GB, free: 8.152 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001544/0.2523, allocations: 0.4987 MB / 0.7305 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.2524, allocations: 8.031 kB / 0.7305 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.2525, allocations: 46.48 kB / 0.7305 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.2525, allocations: 15.77 kB / 0.7306 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2528, allocations: 210.9 kB / 0.7308 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2529, allocations: 4 kB / 0.7308 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.2529, allocations: 12 kB / 0.7308 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2539, allocations: 236.2 kB / 0.731 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.254, allocations: 3.953 kB / 0.731 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.254, allocations: 8 kB / 0.731 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.254, allocations: 0 / 0.731 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.2555, allocations: 247.7 kB / 0.7313 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.2575, allocations: 0.8174 MB / 0.7321 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.2588, allocations: 268.9 kB / 0.7323 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.2588, allocations: 7.938 kB / 0.7323 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.2598, allocations: 235.5 kB / 0.7325 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 3.266e-06/0.2599, allocations: 0 / 0.7325 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.002484/0.2624, allocations: 433.5 kB / 0.733 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.2625, allocations: 166.1 kB / 0.7331 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2627, allocations: 171.3 kB / 0.7333 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.2628, allocations: 29.7 kB / 0.7333 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2629, allocations: 123.9 kB / 0.7334 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.263, allocations: 23.72 kB / 0.7334 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.263, allocations: 3.938 kB / 0.7334 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2631, allocations: 334.8 kB / 0.7338 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.2639, allocations: 131.9 kB / 0.7339 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008301/0.2648, allocations: 160.2 kB / 0.734 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.2656, allocations: 131.8 kB / 0.7342 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2656, allocations: 0 / 0.7342 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001716/0.2673, allocations: 337.2 kB / 0.7345 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.2674, allocations: 8.062 kB / 0.7345 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2674, allocations: 0 / 0.7345 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2674, allocations: 4 kB / 0.7345 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.268, allocations: 63.88 kB / 0.7346 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.268, allocations: 4 kB / 0.7346 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.2685, allocations: 59.8 kB / 0.7346 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.2686, allocations: 4 kB / 0.7346 GB, free: 3.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001933/0.2688, allocations: 141.7 kB / 0.7348 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.2688, allocations: 15.81 kB / 0.7348 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.2689, allocations: 20.92 kB / 0.7348 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2689, allocations: 0 / 0.7348 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.2689, allocations: 4 kB / 0.7348 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.269, allocations: 384 / 0.7348 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.2693, allocations: 237.4 kB / 0.735 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.2693, allocations: 4 kB / 0.735 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.2697, allocations: 51.95 kB / 0.7351 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2697, allocations: 4 kB / 0.7351 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2698, allocations: 4 kB / 0.7351 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2698, allocations: 4.156 kB / 0.7351 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.2698, allocations: 7.984 kB / 0.7351 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.2715, allocations: 407 kB / 0.7355 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.2716, allocations: 89 kB / 0.7356 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.2716, allocations: 11.95 kB / 0.7356 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.2721, allocations: 47.95 kB / 0.7356 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.2723, allocations: 35.94 kB / 0.7357 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2724, allocations: 7.938 kB / 0.7357 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001479/0.2725, allocations: 123.2 kB / 0.7358 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.254e-06/0.2725, allocations: 0 / 0.7358 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003896/0.2729, allocations: 35.84 kB / 0.7358 GB, free: 1.711 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002194/0.2751, allocations: 1.217 MB / 0.737 GB, free: 444 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.2769, allocations: 283.8 kB / 0.7373 GB, free: 160 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2769, allocations: 0 / 0.7373 GB, free: 160 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000946/0.2778, allocations: 160 kB / 0.7374 GB, free: 0 / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.2783, allocations: 31.98 kB / 0.7375 GB, free: 15.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.2828, allocations: 1.793 MB / 0.7392 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.2832, allocations: 0.716 MB / 0.7399 GB, free: 13.35 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.2834, allocations: 20.62 kB / 0.7399 GB, free: 13.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.2836, allocations: 47.48 kB / 0.74 GB, free: 13.29 MB / 0.573 GB Notification: Performance of SimCode: time 1.012e-06/0.2836, allocations: 0 / 0.74 GB, free: 13.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3062, allocations: 3.246 MB / 0.7432 GB, free: 10.17 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/0.3066, allocations: 200.7 kB / 0.7433 GB, free: 9.926 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/2.734, allocations: 0 / 0.7433 GB, free: 9.926 MB / 0.573 GB