Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.242/5.242, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.00258/0.002579, allocations: 357.2 kB / 0.6447 GB, free: 185.7 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.618/4.618, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001728/0.001727, allocations: 183.6 kB / 1.226 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004927, allocations: 12 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 115.3 MB / 1.461 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003438/0.2192, allocations: 1.622 MB / 1.463 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2212, allocations: 0.648 MB / 1.464 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.2214, allocations: 0 / 1.464 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.2215, allocations: 15.8 kB / 1.464 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2217, allocations: 31.7 kB / 1.464 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.2225, allocations: 119.8 kB / 1.464 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.223, allocations: 283.2 kB / 1.464 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2232, allocations: 44.36 kB / 1.464 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2235, allocations: 107.7 kB / 1.464 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.2239, allocations: 131.4 kB / 1.464 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.224, allocations: 16 kB / 1.464 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.2241, allocations: 16 kB / 1.464 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.2242, allocations: 63.8 kB / 1.464 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.474e-05/0.2243, allocations: 69.52 kB / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.2247, allocations: 207.7 kB / 1.465 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2247, allocations: 0 / 1.465 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2247, allocations: 0 / 1.465 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2247, allocations: 0 / 1.465 GB, free: 3.227 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002381/0.2271, allocations: 0.6118 MB / 1.465 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.2272, allocations: 8.031 kB / 1.465 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.2274, allocations: 27.72 kB / 1.465 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2276, allocations: 207.5 kB / 1.465 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.2279, allocations: 263.8 kB / 1.466 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.228, allocations: 31.91 kB / 1.466 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.2291, allocations: 261.7 kB / 1.466 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.2292, allocations: 4 kB / 1.466 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.2293, allocations: 8 kB / 1.466 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2293, allocations: 8 kB / 1.466 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2305, allocations: 179.9 kB / 1.466 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.2331, allocations: 0.7817 MB / 1.467 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2343, allocations: 212 kB / 1.467 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007623/0.2351, allocations: 142.9 kB / 1.467 GB, free: 268 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.16e-05/0.2353, allocations: 8.172 kB / 1.467 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.2366, allocations: 323.6 kB / 1.468 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 5.921e-06/0.2367, allocations: 0 / 1.468 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002822/0.2395, allocations: 0.4933 MB / 1.468 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.2397, allocations: 114.8 kB / 1.468 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.2401, allocations: 183.4 kB / 1.468 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.2402, allocations: 37.7 kB / 1.468 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2404, allocations: 117.2 kB / 1.469 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.2407, allocations: 154 kB / 1.469 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.2407, allocations: 8 kB / 1.469 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.241, allocations: 346.8 kB / 1.469 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009099/0.2419, allocations: 153.2 kB / 1.469 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.2429, allocations: 252.8 kB / 1.469 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.244, allocations: 167.9 kB / 1.47 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.244, allocations: 3.938 kB / 1.47 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002505/0.2465, allocations: 0.4972 MB / 1.47 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.2466, allocations: 8 kB / 1.47 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.2467, allocations: 4 kB / 1.47 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.2467, allocations: 4 kB / 1.47 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2479, allocations: 95.83 kB / 1.47 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.248, allocations: 8 kB / 1.47 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.2489, allocations: 71.64 kB / 1.47 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.249, allocations: 20 kB / 1.47 GB, free: 13.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003961/0.2494, allocations: 164.5 kB / 1.47 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.2496, allocations: 27.67 kB / 1.47 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.2497, allocations: 33.86 kB / 1.47 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.2498, allocations: 8 kB / 1.47 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.2498, allocations: 3.984 kB / 1.47 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2499, allocations: 100.8 kB / 1.471 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.25, allocations: 12 kB / 1.471 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/0.2507, allocations: 48.02 kB / 1.471 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.251, allocations: 39.95 kB / 1.471 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003442/0.2544, allocations: 0.6902 MB / 1.471 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003488/0.258, allocations: 0.8856 MB / 1.472 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001071/0.2591, allocations: 175 kB / 1.472 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002708/0.2594, allocations: 129.1 kB / 1.472 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of Backend: time 1.523e-06/0.2595, allocations: 0 / 1.472 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.2622, allocations: 358 kB / 1.473 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of SimCode: time 0.002559/0.2648, allocations: 1.076 MB / 1.474 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of Templates: time 0.0203/0.2852, allocations: 3.956 MB / 1.478 GB, free: 5.359 MB / 0.6198 GB