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 4.928/4.928, allocations: 0.5623 GB / 0.5769 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.003881/0.003881, allocations: 361.3 kB / 0.644 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.528/4.528, allocations: 410.7 MB / 1.112 GB, free: 6 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.001791/0.001791, allocations: 187 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007719/0.0007723, allocations: 16 kB / 1.348 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6459, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001787/0.6477, allocations: 1.617 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.6487, allocations: 0.6556 MB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.6488, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.6489, allocations: 11.86 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.649, allocations: 35.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.6494, allocations: 131.1 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.6497, allocations: 275.2 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.6498, allocations: 42.59 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.65, allocations: 104.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.6502, allocations: 136.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.6502, allocations: 12 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.232e-05/0.6503, allocations: 17.19 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.6504, allocations: 63.78 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.6504, allocations: 65.58 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.6506, allocations: 201.6 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.697e-06/0.6507, allocations: 4.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.352e-06/0.6507, allocations: 0.6875 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.187e-06/0.6507, allocations: 3.938 kB / 1.464 GB, free: 281 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001153/0.6518, allocations: 0.6053 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.6519, allocations: 16.62 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.652, allocations: 31.72 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.6521, allocations: 203.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.6523, allocations: 268.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.6524, allocations: 24.56 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.653, allocations: 266.2 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.653, allocations: 4.469 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.6531, allocations: 8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.6531, allocations: 6.969 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.6536, allocations: 187.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.6548, allocations: 0.7798 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.6554, allocations: 211.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.6557, allocations: 135.8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.6558, allocations: 17.77 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.6564, allocations: 313.9 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 3.413e-06/0.6565, allocations: 1.25 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001265/0.6577, allocations: 0.4958 MB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.6578, allocations: 115.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.658, allocations: 177.5 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.658, allocations: 41.7 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.6581, allocations: 121.2 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6582, allocations: 146.5 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.6583, allocations: 17.25 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.6584, allocations: 342.8 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.6588, allocations: 151 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.6592, allocations: 253.6 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.6596, allocations: 170 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.632e-06/0.6597, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001102/0.6608, allocations: 0.4887 MB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6608, allocations: 8.5 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.982e-06/0.6608, allocations: 0.9375 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6608, allocations: 8 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.6613, allocations: 101.2 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6614, allocations: 11.92 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.6617, allocations: 82.27 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.6618, allocations: 20.62 kB / 1.47 GB, free: 274.9 MB / 0.8542 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.0001785/0.662, allocations: 158.5 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.662, allocations: 27.67 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.6621, allocations: 38.86 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.132e-06/0.6621, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6622, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.463e-06/0.6622, allocations: 6.547 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.6625, allocations: 353.2 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-06/0.6626, allocations: 0 / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.6631, allocations: 80.89 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.176e-06/0.6631, allocations: 0.9688 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.6632, allocations: 19.94 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.323e-06/0.6632, allocations: 0.7812 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.239e-06/0.6632, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6645, allocations: 0.5991 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.6646, allocations: 106.5 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.6647, allocations: 12 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.665, allocations: 46.28 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6651, allocations: 39.95 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.6651, allocations: 16.7 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.604e-05/0.6652, allocations: 120.1 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.27e-07/0.6653, allocations: 1.406 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004457/0.6657, allocations: 87.89 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000145/0.6659, allocations: 114.8 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009451/0.6668, allocations: 396.3 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.852e-06/0.6668, allocations: 0.5625 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.6673, allocations: 194.8 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.6677, allocations: 41.62 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.669, allocations: 0.7043 MB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.6692, allocations: 0.7718 MB / 1.473 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.6695, allocations: 36.03 kB / 1.473 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6697, allocations: 38.42 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.692e-06/0.6697, allocations: 0 / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.007886/0.6776, allocations: 3.033 MB / 1.476 GB, free: 267.9 MB / 0.8542 GB