Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.251/4.251, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.376e-05, allocations: 7.5 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 98.73 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.4454, allocations: 124 MB / 0.75 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4457, allocations: 71.95 kB / 0.75 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.456, allocations: 2.048 MB / 0.752 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4561, allocations: 0 / 0.752 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.4561, allocations: 192 / 0.752 GB, free: 10.85 MB / 0.6355 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.001346/0.4575, allocations: 490 kB / 0.7525 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4575, allocations: 12.03 kB / 0.7525 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.4576, allocations: 19.75 kB / 0.7525 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.4579, allocations: 214.8 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4579, allocations: 4 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.458, allocations: 4 kB / 0.7527 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002561/0.4582, allocations: 63.98 kB / 0.7528 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.4586, allocations: 131 kB / 0.7529 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4586, allocations: 3.984 kB / 0.7529 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4586, allocations: 4 kB / 0.7529 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4586, allocations: 8 kB / 0.7529 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.4605, allocations: 0.7829 MB / 0.7537 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4608, allocations: 136.9 kB / 0.7538 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4609, allocations: 60.84 kB / 0.7539 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.461, allocations: 0 / 0.7539 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.4613, allocations: 143.8 kB / 0.754 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.4613, allocations: 0 / 0.754 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000433/0.4618, allocations: 121.4 kB / 0.7541 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.4619, allocations: 158.2 kB / 0.7543 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.4621, allocations: 153.5 kB / 0.7544 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4621, allocations: 25.7 kB / 0.7545 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.4623, allocations: 119.9 kB / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.4623, allocations: 31.55 kB / 0.7546 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.4623, allocations: 0 / 0.7546 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4625, allocations: 332.2 kB / 0.7549 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.4627, allocations: 40 kB / 0.755 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.4628, allocations: 73.22 kB / 0.755 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.463, allocations: 39.97 kB / 0.7551 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.463, allocations: 0 / 0.7551 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004078/0.4634, allocations: 141.3 kB / 0.7552 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4634, allocations: 8 kB / 0.7552 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4634, allocations: 0 / 0.7552 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4635, allocations: 8.094 kB / 0.7552 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.4641, allocations: 63.94 kB / 0.7553 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4641, allocations: 3.938 kB / 0.7553 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.4646, allocations: 55.86 kB / 0.7553 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.4646, allocations: 4 kB / 0.7553 GB, free: 7.109 MB / 0.6355 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 () * 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.0001192/0.4648, allocations: 119.2 kB / 0.7555 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003417/0.4651, allocations: 125.4 kB / 0.7556 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.4652, allocations: 16.09 kB / 0.7556 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.4653, allocations: 21.53 kB / 0.7556 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4653, allocations: 4 kB / 0.7556 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4653, allocations: 0 / 0.7556 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4653, allocations: 0 / 0.7556 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4656, allocations: 209.9 kB / 0.7558 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4656, allocations: 0 / 0.7558 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.466, allocations: 56.03 kB / 0.7559 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.4661, allocations: 7.938 kB / 0.7559 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.4661, allocations: 4 kB / 0.7559 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.976e-06/0.4661, allocations: 7.938 kB / 0.7559 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4661, allocations: 0 / 0.7559 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.4665, allocations: 211.3 kB / 0.7561 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.4666, allocations: 92.92 kB / 0.7562 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.4666, allocations: 7.953 kB / 0.7562 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.4671, allocations: 51.88 kB / 0.7562 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.4673, allocations: 39.89 kB / 0.7563 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4674, allocations: 4 kB / 0.7563 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001234/0.4675, allocations: 124.3 kB / 0.7564 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4675, allocations: 0 / 0.7564 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003621/0.4679, allocations: 27.98 kB / 0.7564 GB, free: 5.879 MB / 0.6355 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) * 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.000826/0.4687, allocations: 1.032 MB / 0.7574 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.4691, allocations: 103.9 kB / 0.7575 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4691, allocations: 0 / 0.7575 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.4694, allocations: 63.94 kB / 0.7576 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.4697, allocations: 35.91 kB / 0.7576 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.4706, allocations: 246.2 kB / 0.7579 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.471, allocations: 0.7235 MB / 0.7586 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.4712, allocations: 24.86 kB / 0.7586 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4713, allocations: 39.42 kB / 0.7586 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.4713, allocations: 0 / 0.7586 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.5086, allocations: 2.832 MB / 0.7614 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003469/0.509, allocations: 157 kB / 0.7615 GB, free: 500 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.906, allocations: 0 / 0.7615 GB, free: 500 kB / 0.6355 GB