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.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01085/0.01086, allocations: 107.6 kB / 15.06 MB, free: 5.555 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.001205/0.001204, allocations: 185.3 kB / 15.95 MB, free: 5.52 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.969/1.969, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.362/2.362, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006703, allocations: 12 kB / 0.587 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6915, allocations: 98.72 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002095/0.6936, allocations: 1.311 MB / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.6944, allocations: 253.8 kB / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.6945, allocations: 5 kB / 0.685 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.6946, allocations: 16.78 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.6947, allocations: 23.23 kB / 0.685 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.695, allocations: 56.34 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.6953, allocations: 141.9 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.6955, allocations: 46.23 kB / 0.6852 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.6957, allocations: 78.22 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.6959, allocations: 106.7 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.696, allocations: 10.09 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-05/0.696, allocations: 10.09 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.6961, allocations: 46 kB / 0.6855 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.6962, allocations: 59.28 kB / 0.6855 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.6965, allocations: 174.5 kB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6965, allocations: 4 kB / 0.6857 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6966, allocations: 0 / 0.6857 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6966, allocations: 1.094 kB / 0.6857 GB, free: 15.15 MB / 0.5261 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.001721/0.6983, allocations: 0.5402 MB / 0.6862 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6984, allocations: 14.28 kB / 0.6863 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.258e-05/0.6985, allocations: 49.36 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.6986, allocations: 23.86 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.6989, allocations: 245.3 kB / 0.6866 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.6989, allocations: 15.06 kB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.699, allocations: 17.2 kB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.7004, allocations: 302.1 kB / 0.6869 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.7004, allocations: 5.062 kB / 0.6869 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.7005, allocations: 10.38 kB / 0.6869 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.7005, allocations: 3.375 kB / 0.6869 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.7023, allocations: 358.6 kB / 0.6872 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.7047, allocations: 0.6741 MB / 0.6879 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.7063, allocations: 319.6 kB / 0.6882 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.7064, allocations: 2.609 kB / 0.6882 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.7077, allocations: 316.9 kB / 0.6885 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 4.409e-06/0.7077, allocations: 0 / 0.6885 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.003344/0.7111, allocations: 0.6834 MB / 0.6892 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.7112, allocations: 64.42 kB / 0.6892 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.7114, allocations: 183.9 kB / 0.6894 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.7115, allocations: 36.23 kB / 0.6894 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.7116, allocations: 134.5 kB / 0.6896 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.7117, allocations: 66.64 kB / 0.6896 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.7118, allocations: 5.375 kB / 0.6896 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.7119, allocations: 335.5 kB / 0.69 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.7129, allocations: 189.7 kB / 0.6901 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.7139, allocations: 199 kB / 0.6903 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.7149, allocations: 188.6 kB / 0.6905 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7149, allocations: 1.531 kB / 0.6905 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002186/0.7171, allocations: 471.2 kB / 0.691 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.7172, allocations: 4.375 kB / 0.691 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7172, allocations: 4 kB / 0.691 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.7172, allocations: 2.703 kB / 0.691 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.718, allocations: 92.17 kB / 0.6911 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.718, allocations: 5.641 kB / 0.6911 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.7187, allocations: 69.38 kB / 0.6911 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.7187, allocations: 9.719 kB / 0.6911 GB, free: 12.39 MB / 0.5261 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.0002503/0.719, allocations: 158.6 kB / 0.6913 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.7191, allocations: 22.56 kB / 0.6913 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.7191, allocations: 28.86 kB / 0.6913 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7192, allocations: 2.719 kB / 0.6913 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.7192, allocations: 1.406 kB / 0.6913 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.7192, allocations: 5.297 kB / 0.6913 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.7219, allocations: 0.8719 MB / 0.6922 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7219, allocations: 5.094 kB / 0.6922 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.7225, allocations: 58.48 kB / 0.6923 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.7225, allocations: 5.156 kB / 0.6923 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.7226, allocations: 9.359 kB / 0.6923 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.7226, allocations: 1.156 kB / 0.6923 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7226, allocations: 1.906 kB / 0.6923 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.7249, allocations: 0.5953 MB / 0.6929 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.725, allocations: 108.3 kB / 0.693 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.7251, allocations: 4.359 kB / 0.693 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.7257, allocations: 55.53 kB / 0.693 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.7259, allocations: 46.72 kB / 0.6931 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.726, allocations: 15.66 kB / 0.6931 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001462/0.7262, allocations: 138.7 kB / 0.6932 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7262, allocations: 0 / 0.6932 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004615/0.7266, allocations: 53.38 kB / 0.6933 GB, free: 11.25 MB / 0.5261 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.002614/0.7293, allocations: 1.147 MB / 0.6944 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.7316, allocations: 452.8 kB / 0.6948 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7316, allocations: 0 / 0.6948 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7328, allocations: 232.7 kB / 0.695 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.7332, allocations: 30.41 kB / 0.6951 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.7389, allocations: 1.65 MB / 0.6967 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.7392, allocations: 0.7417 MB / 0.6974 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002685/0.7394, allocations: 35.19 kB / 0.6974 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.7397, allocations: 59.11 kB / 0.6975 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/0.7397, allocations: 0 / 0.6975 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.77, allocations: 4.66 MB / 0.702 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.7703, allocations: 196.2 kB / 0.7022 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.22, allocations: 0 / 0.7022 GB, free: 6.34 MB / 0.5261 GB