Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.00204, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.839/1.839, allocations: 251.7 MB / 0.5092 GB, free: 3.184 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 71.91 kB / 0.6223 GB, free: 1.52 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7631, allocations: 104.7 MB / 0.7245 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.003675/0.7668, allocations: 1.547 MB / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000646/0.7675, allocations: 188.3 kB / 0.7262 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.7676, allocations: 0 / 0.7262 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.7677, allocations: 11.88 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.7678, allocations: 19.78 kB / 0.7263 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.7679, allocations: 35.95 kB / 0.7263 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.7682, allocations: 135.7 kB / 0.7264 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.7684, allocations: 20 kB / 0.7264 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.7685, allocations: 59.83 kB / 0.7265 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.7687, allocations: 59.75 kB / 0.7266 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.7687, allocations: 12 kB / 0.7266 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.123e-05/0.7687, allocations: 8 kB / 0.7266 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.7688, allocations: 23.91 kB / 0.7266 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.7689, allocations: 51.73 kB / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.7692, allocations: 125.6 kB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.7692, allocations: 0 / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.017e-06/0.7692, allocations: 0 / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.7692, allocations: 0 / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00108/0.7703, allocations: 484.6 kB / 0.7272 GB, free: 10.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.7704, allocations: 8.031 kB / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.7705, allocations: 12.84 kB / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.7708, allocations: 207.9 kB / 0.7274 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.7708, allocations: 8.375 kB / 0.7275 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.7709, allocations: 8.312 kB / 0.7275 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.7715, allocations: 186.1 kB / 0.7276 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.7715, allocations: 192 / 0.7276 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.7716, allocations: 7.938 kB / 0.7276 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.7716, allocations: 4 kB / 0.7277 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/0.7723, allocations: 199.8 kB / 0.7278 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/0.7733, allocations: 408.4 kB / 0.7282 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.7737, allocations: 170.5 kB / 0.7284 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.7742, allocations: 152.9 kB / 0.7285 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.7742, allocations: 0 / 0.7285 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.7743, allocations: 34.56 kB / 0.7286 GB, free: 8.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.7743, allocations: 0 / 0.7286 GB, free: 8.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001559/0.7759, allocations: 474.9 kB / 0.729 GB, free: 8.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.776, allocations: 85.05 kB / 0.7291 GB, free: 8.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.7762, allocations: 145.7 kB / 0.7292 GB, free: 7.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.7762, allocations: 29.7 kB / 0.7293 GB, free: 7.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.7763, allocations: 96.14 kB / 0.7294 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.7764, allocations: 31.64 kB / 0.7294 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.7764, allocations: 21.72 kB / 0.7294 GB, free: 7.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002731/0.7767, allocations: 326.8 kB / 0.7297 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.7771, allocations: 123.9 kB / 0.7298 GB, free: 7.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.7775, allocations: 128.2 kB / 0.73 GB, free: 7.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.7783, allocations: 240.1 kB / 0.7302 GB, free: 6.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7783, allocations: 0 / 0.7302 GB, free: 6.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008809/0.7792, allocations: 347 kB / 0.7305 GB, free: 6.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.7792, allocations: 37.69 kB / 0.7306 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7792, allocations: 0 / 0.7306 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.7793, allocations: 4 kB / 0.7306 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.7795, allocations: 31.95 kB / 0.7306 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.7796, allocations: 0 / 0.7306 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.7798, allocations: 43.95 kB / 0.7306 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.7798, allocations: 0 / 0.7306 GB, free: 6.457 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.78, allocations: 159.5 kB / 0.7308 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.78, allocations: 11.91 kB / 0.7308 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.7801, allocations: 8.719 kB / 0.7308 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.7801, allocations: 4 kB / 0.7308 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7801, allocations: 3.984 kB / 0.7308 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7801, allocations: 4 kB / 0.7308 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.7804, allocations: 217.5 kB / 0.731 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7804, allocations: 3.938 kB / 0.731 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.7806, allocations: 39.89 kB / 0.7311 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7806, allocations: 0 / 0.7311 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.7807, allocations: 3.984 kB / 0.7311 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7807, allocations: 0 / 0.7311 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7807, allocations: 4 kB / 0.7311 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7817, allocations: 444.9 kB / 0.7315 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.7818, allocations: 92.95 kB / 0.7316 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.7818, allocations: 0 / 0.7316 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.782, allocations: 39.94 kB / 0.7316 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.7823, allocations: 79.91 kB / 0.7317 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.7824, allocations: 4 kB / 0.7317 GB, free: 5.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.852e-05/0.7825, allocations: 107.2 kB / 0.7318 GB, free: 5.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7825, allocations: 0 / 0.7318 GB, free: 5.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002523/0.7827, allocations: 32 kB / 0.7318 GB, free: 5.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002314/0.783, allocations: 107.2 kB / 0.7319 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.784, allocations: 355 kB / 0.7323 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.784, allocations: 0 / 0.7323 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.7845, allocations: 223.2 kB / 0.7325 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.7849, allocations: 27.98 kB / 0.7325 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.7857, allocations: 341.9 kB / 0.7329 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.786, allocations: 0.708 MB / 0.7335 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.874e-05/0.7861, allocations: 19.72 kB / 0.7336 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.7862, allocations: 11.44 kB / 0.7336 GB, free: 3.258 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.7862, allocations: 0 / 0.7336 GB, free: 3.258 MB / 0.545 GB Notification: Performance of Templates: time 0.006665/0.7929, allocations: 2.93 MB / 0.7364 GB, free: 364 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1)