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.01097/0.01098, allocations: 110 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.001163/0.001163, allocations: 182.7 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.893/1.893, allocations: 194.5 MB / 211.3 MB, free: 11.16 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.377/2.377, allocations: 236.1 MB / 492.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005931/0.0005933, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6749, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001741/0.6767, allocations: 1.228 MB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.6772, allocations: 218.2 kB / 0.6849 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.6773, allocations: 1.156 kB / 0.6849 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.971e-05/0.6774, allocations: 5.812 kB / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.6776, allocations: 29.64 kB / 0.6849 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.6778, allocations: 41.16 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.678, allocations: 95.05 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.6781, allocations: 21.34 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.6782, allocations: 67.12 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.6784, allocations: 58.61 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.6784, allocations: 11.28 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.6785, allocations: 9.812 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.6786, allocations: 32.69 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.6786, allocations: 46.05 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.6788, allocations: 113.4 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.6788, allocations: 0 / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6789, allocations: 0 / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.6789, allocations: 0 / 0.6854 GB, free: 15.39 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00134/0.6802, allocations: 0.4909 MB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6803, allocations: 9.734 kB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.6803, allocations: 39.59 kB / 0.6859 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.6804, allocations: 21.17 kB / 0.6859 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.6806, allocations: 214.9 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.6807, allocations: 8.953 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.6807, allocations: 10.03 kB / 0.6861 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.6817, allocations: 232 kB / 0.6864 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6817, allocations: 9.422 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.6818, allocations: 0.7031 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.6818, allocations: 2.969 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6832, allocations: 251.8 kB / 0.6866 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.685, allocations: 0.8116 MB / 0.6874 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.6861, allocations: 266.4 kB / 0.6876 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.6862, allocations: 9.562 kB / 0.6877 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000958/0.6871, allocations: 239.2 kB / 0.6879 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.6872, allocations: 0 / 0.6879 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.002459/0.6896, allocations: 431.7 kB / 0.6883 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.6897, allocations: 162.8 kB / 0.6885 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.6899, allocations: 169.9 kB / 0.6886 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.69, allocations: 30.83 kB / 0.6886 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.6901, allocations: 120.5 kB / 0.6888 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.6901, allocations: 31.83 kB / 0.6888 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.6901, allocations: 4 kB / 0.6888 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.6902, allocations: 332.1 kB / 0.6891 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.691, allocations: 133.4 kB / 0.6892 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/0.6918, allocations: 168.3 kB / 0.6894 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.6925, allocations: 130.5 kB / 0.6895 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6926, allocations: 0 / 0.6895 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00168/0.6942, allocations: 324.9 kB / 0.6898 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.6943, allocations: 9.469 kB / 0.6898 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6943, allocations: 1.156 kB / 0.6898 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6943, allocations: 3 kB / 0.6898 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.6949, allocations: 67.48 kB / 0.6899 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.6949, allocations: 10.28 kB / 0.6899 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.6954, allocations: 57.39 kB / 0.69 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.6955, allocations: 13.09 kB / 0.69 GB, free: 12.45 MB / 0.5261 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.0001729/0.6957, allocations: 134.9 kB / 0.6901 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.6957, allocations: 15.05 kB / 0.6901 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.6958, allocations: 19.8 kB / 0.6901 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6958, allocations: 3.312 kB / 0.6902 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6958, allocations: 1.312 kB / 0.6902 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6958, allocations: 2.172 kB / 0.6902 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.6961, allocations: 231.3 kB / 0.6904 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6961, allocations: 2.094 kB / 0.6904 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.6966, allocations: 58.59 kB / 0.6904 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6966, allocations: 2.188 kB / 0.6904 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.6966, allocations: 7.75 kB / 0.6904 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6966, allocations: 1.5 kB / 0.6904 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.6966, allocations: 1.859 kB / 0.6904 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.6983, allocations: 409.2 kB / 0.6908 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.6984, allocations: 91.8 kB / 0.6909 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.6984, allocations: 7.531 kB / 0.6909 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.6989, allocations: 54.83 kB / 0.691 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6991, allocations: 31.52 kB / 0.691 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.6991, allocations: 5.438 kB / 0.691 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001366/0.6993, allocations: 125.4 kB / 0.6911 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/0.6993, allocations: 1.094 kB / 0.6911 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003794/0.6997, allocations: 34.09 kB / 0.6912 GB, free: 11.62 MB / 0.5261 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.001923/0.7016, allocations: 1.213 MB / 0.6924 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.7033, allocations: 290.5 kB / 0.6926 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.7033, allocations: 0 / 0.6926 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/0.7043, allocations: 163.1 kB / 0.6928 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.7047, allocations: 34.03 kB / 0.6928 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.7089, allocations: 1.792 MB / 0.6946 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.7092, allocations: 0.7256 MB / 0.6953 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.7094, allocations: 24.66 kB / 0.6953 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.7096, allocations: 40.62 kB / 0.6953 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/0.7096, allocations: 0 / 0.6953 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.7365, allocations: 3.245 MB / 0.6985 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.7367, allocations: 201 kB / 0.6987 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.097, allocations: 3.516 kB / 0.6987 GB, free: 7.414 MB / 0.5261 GB