Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.037/5.037, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002435/0.002436, allocations: 360.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.079/4.079, allocations: 410.7 MB / 1.113 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001923/0.001922, allocations: 187 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005174, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7436, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.9456, allocations: 138.3 MB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.9459, allocations: 77.94 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02025/0.9662, allocations: 4.273 MB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.496e-06/0.9662, allocations: 0.9688 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.752e-05/0.9663, allocations: 7.938 kB / 1.601 GB, free: 141.6 MB / 0.8542 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.001112/0.9674, allocations: 0.5485 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.9675, allocations: 11.62 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.9676, allocations: 29.64 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.968, allocations: 242.7 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.9681, allocations: 12 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.9681, allocations: 16 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.9689, allocations: 186.7 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.9689, allocations: 3.938 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.969, allocations: 3.25 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.969, allocations: 7.953 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.9699, allocations: 167.3 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.9716, allocations: 0.8888 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.9722, allocations: 184.1 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.9727, allocations: 104.3 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.9728, allocations: 7.359 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/0.9734, allocations: 205.5 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.845e-06/0.9734, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0017/0.9752, allocations: 334.8 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.9753, allocations: 159.8 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.9756, allocations: 204.5 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.9757, allocations: 35.73 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.9758, allocations: 136.2 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.9759, allocations: 23.66 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.9759, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.976, allocations: 335.8 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.9767, allocations: 134.5 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.9774, allocations: 196.5 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.978, allocations: 189.5 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.978, allocations: 6.281 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00158/0.9796, allocations: 434.5 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.9797, allocations: 71.39 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.9798, allocations: 4 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.9798, allocations: 5.344 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.9801, allocations: 37.59 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9802, allocations: 4 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009187/0.9811, allocations: 105.2 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.9812, allocations: 15.98 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0002294/0.9814, allocations: 143.3 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.9815, allocations: 15.81 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.9816, allocations: 21.61 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9816, allocations: 12.38 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.9816, allocations: 0 / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.9816, allocations: 4.656 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.9819, allocations: 249.4 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.9819, allocations: 4.625 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.9822, allocations: 34.31 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.9823, allocations: 4 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.9823, allocations: 8 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.9823, allocations: 5.25 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9823, allocations: 0 / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.9834, allocations: 289.8 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.9835, allocations: 92.92 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.9835, allocations: 4 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.9838, allocations: 25.47 kB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.9839, allocations: 20.72 kB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.984, allocations: 4 kB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001711/0.9841, allocations: 146.2 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9842, allocations: 0 / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004824/0.9846, allocations: 59.78 kB / 1.607 GB, free: 135.1 MB / 0.8542 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 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002033/0.9849, allocations: 119.9 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.9863, allocations: 401.4 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.9863, allocations: 0 / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.9868, allocations: 107.9 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.9874, allocations: 44.08 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.9882, allocations: 369.1 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.9885, allocations: 0.7282 MB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.9886, allocations: 25.75 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.9887, allocations: 13 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/0.9887, allocations: 0 / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.008287/0.997, allocations: 2.785 MB / 1.611 GB, free: 130.7 MB / 0.8542 GB