Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.514/2.514, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001631, allocations: 178.2 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.544/2.544, allocations: 205.4 MB / 0.5766 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 97.83 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007064/0.0007065, allocations: 9.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2242, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001804/0.2261, allocations: 1.236 MB / 0.9001 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005361/0.2266, allocations: 218.2 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.2267, allocations: 11.94 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.2268, allocations: 7.922 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.2269, allocations: 23.91 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.2271, allocations: 39.88 kB / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.2274, allocations: 99.8 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2275, allocations: 29.38 kB / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.965e-05/0.2276, allocations: 59.81 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2277, allocations: 67.73 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.2278, allocations: 4 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-05/0.2278, allocations: 8 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.2279, allocations: 27.91 kB / 0.9007 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.2279, allocations: 41.64 kB / 0.9007 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2281, allocations: 119.7 kB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.2281, allocations: 0 / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2281, allocations: 0 / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2281, allocations: 0 / 0.9008 GB, free: 63.91 MB / 0.6042 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.001286/0.2294, allocations: 498.6 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2295, allocations: 11.97 kB / 0.9013 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.2295, allocations: 23.73 kB / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.2297, allocations: 214.8 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2298, allocations: 12 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2298, allocations: 8 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.2307, allocations: 233.8 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2308, allocations: 0 / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.2308, allocations: 15.95 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2308, allocations: 0 / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.2322, allocations: 247.7 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2339, allocations: 0.8137 MB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.235, allocations: 264.9 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.235, allocations: 7.938 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009106/0.236, allocations: 235.5 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.236, allocations: 0 / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002334/0.2383, allocations: 429.5 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.2384, allocations: 170.1 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2387, allocations: 167.6 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.2387, allocations: 29.7 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.2388, allocations: 120 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.2389, allocations: 35.61 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.2389, allocations: 4 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.239, allocations: 326.8 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.2397, allocations: 131.9 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.2405, allocations: 170.2 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.2413, allocations: 135.8 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2413, allocations: 0 / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001614/0.2429, allocations: 333.2 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.243, allocations: 4 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.243, allocations: 0 / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.243, allocations: 4 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.2436, allocations: 71.88 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2436, allocations: 4 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.2441, allocations: 55.8 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.2442, allocations: 12 kB / 0.9054 GB, free: 58.87 MB / 0.6042 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.0001668/0.2443, allocations: 134.4 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.2444, allocations: 11.91 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.2445, allocations: 20.92 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2445, allocations: 4 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2445, allocations: 0 / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2445, allocations: 0 / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.2447, allocations: 237.4 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2448, allocations: 4 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.2452, allocations: 51.94 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.2452, allocations: 4 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2452, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2452, allocations: 8 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2452, allocations: 0 / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.2468, allocations: 403 kB / 0.9062 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2469, allocations: 92.92 kB / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.247, allocations: 11.98 kB / 0.9063 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.2475, allocations: 51.91 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.2477, allocations: 31.95 kB / 0.9064 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.2477, allocations: 11.92 kB / 0.9064 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2478, allocations: 123.5 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2479, allocations: 4 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003611/0.2482, allocations: 35.94 kB / 0.9066 GB, free: 57.52 MB / 0.6042 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.0001481/0.2484, allocations: 103.6 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.25, allocations: 279.8 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.25, allocations: 4.062 kB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.2509, allocations: 164 kB / 0.9071 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.2513, allocations: 27.88 kB / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.2522, allocations: 327.5 kB / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.2524, allocations: 0.7238 MB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.2526, allocations: 20.64 kB / 0.9082 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.2527, allocations: 19.42 kB / 0.9082 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.362e-06/0.2527, allocations: 0 / 0.9082 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.006158/0.2589, allocations: 1.8 MB / 0.91 GB, free: 54.02 MB / 0.6042 GB