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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01065/0.01065, allocations: 106.5 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001119/0.001119, allocations: 182.2 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.945/1.945, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.275/2.275, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004792, allocations: 11.98 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7238, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.9529, allocations: 124.7 MB / 0.8052 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.9532, allocations: 67.97 kB / 0.8053 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.9639, allocations: 2.061 MB / 0.8073 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.964, allocations: 0 / 0.8073 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.964, allocations: 0 / 0.8073 GB, free: 15.31 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.001474/0.9655, allocations: 0.5025 MB / 0.8078 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.9656, allocations: 8.031 kB / 0.8078 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/0.9656, allocations: 46.55 kB / 0.8079 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.9657, allocations: 23.7 kB / 0.8079 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.966, allocations: 200.4 kB / 0.8081 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.966, allocations: 8 kB / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.9661, allocations: 15.94 kB / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.9672, allocations: 230.5 kB / 0.8083 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.9672, allocations: 7.891 kB / 0.8083 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.9672, allocations: 8 kB / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.9673, allocations: 0 / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.9688, allocations: 247.7 kB / 0.8086 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.9709, allocations: 0.8174 MB / 0.8094 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.9722, allocations: 271.4 kB / 0.8096 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.9722, allocations: 4 kB / 0.8096 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009922/0.9732, allocations: 231.6 kB / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/0.9733, allocations: 0 / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.002619/0.9759, allocations: 433.4 kB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.976, allocations: 170.2 kB / 0.8104 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.9763, allocations: 149.5 kB / 0.8106 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.9763, allocations: 33.7 kB / 0.8106 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.9764, allocations: 119.9 kB / 0.8107 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.9765, allocations: 27.69 kB / 0.8107 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.9765, allocations: 7.938 kB / 0.8107 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9767, allocations: 326.8 kB / 0.8111 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/0.9775, allocations: 135.8 kB / 0.8112 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.9783, allocations: 161.8 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.9792, allocations: 135.9 kB / 0.8115 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.9792, allocations: 0 / 0.8115 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001771/0.981, allocations: 337.1 kB / 0.8118 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.981, allocations: 8.062 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.9811, allocations: 4 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.9811, allocations: 4 kB / 0.8118 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.9817, allocations: 63.94 kB / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.9817, allocations: 3.938 kB / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.9823, allocations: 55.89 kB / 0.8119 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.9823, allocations: 11.98 kB / 0.8119 GB, free: 10.24 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 () * 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.0002335/0.9826, allocations: 135.7 kB / 0.8121 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.9826, allocations: 15.81 kB / 0.8121 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.9827, allocations: 20.92 kB / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.9827, allocations: 4 kB / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.9827, allocations: 4 kB / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.9828, allocations: 0 / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.9831, allocations: 229.5 kB / 0.8123 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9831, allocations: 7.938 kB / 0.8123 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.9835, allocations: 55.89 kB / 0.8124 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.9836, allocations: 4 kB / 0.8124 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.9836, allocations: 3.984 kB / 0.8124 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.9836, allocations: 4 kB / 0.8124 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9836, allocations: 0 / 0.8124 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.9854, allocations: 414.2 kB / 0.8128 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.9855, allocations: 92.86 kB / 0.8129 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.9856, allocations: 8 kB / 0.8129 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.9861, allocations: 55.89 kB / 0.8129 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.9862, allocations: 31.95 kB / 0.813 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.9863, allocations: 4 kB / 0.813 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001729/0.9865, allocations: 119.2 kB / 0.8131 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9865, allocations: 0 / 0.8131 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003798/0.9869, allocations: 35.98 kB / 0.8131 GB, free: 8.887 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) * 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.00228/0.9892, allocations: 1.221 MB / 0.8143 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.991, allocations: 291.8 kB / 0.8146 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9911, allocations: 0 / 0.8146 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.9923, allocations: 156 kB / 0.8147 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.9928, allocations: 27.98 kB / 0.8148 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.9987, allocations: 1.786 MB / 0.8165 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.9992, allocations: 0.7199 MB / 0.8172 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.9995, allocations: 20.86 kB / 0.8172 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.9997, allocations: 43.42 kB / 0.8173 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/0.9997, allocations: 4 kB / 0.8173 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07834/1.078, allocations: 3.225 MB / 0.8204 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/1.078, allocations: 209.7 kB / 0.8206 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.659, allocations: 0 / 0.8206 GB, free: 1.117 MB / 0.6355 GB