Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.946/4.946, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002601/0.0026, allocations: 355.8 kB / 0.644 GB, free: 21.59 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.159/4.159, allocations: 410.8 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001756/0.001756, allocations: 183 kB / 1.225 GB, free: 9.539 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 16 kB / 1.348 GB, free: 84.68 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.191, allocations: 115.3 MB / 1.461 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.565/0.756, allocations: 1.604 MB / 1.462 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.7571, allocations: 0.6566 MB / 1.463 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.7573, allocations: 2.438 kB / 1.463 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.7573, allocations: 10.27 kB / 1.463 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.7574, allocations: 32.05 kB / 1.463 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.7579, allocations: 118.3 kB / 1.463 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.7582, allocations: 285.9 kB / 1.463 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.7584, allocations: 43.34 kB / 1.463 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.7586, allocations: 106.5 kB / 1.464 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.7588, allocations: 132.2 kB / 1.464 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.7589, allocations: 19.38 kB / 1.464 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.7589, allocations: 14.41 kB / 1.464 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.759, allocations: 61.19 kB / 1.464 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.7591, allocations: 63.95 kB / 1.464 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.7594, allocations: 206.9 kB / 1.464 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.406e-06/0.7595, allocations: 0.7812 kB / 1.464 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.056e-06/0.7595, allocations: 0 / 1.464 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.7595, allocations: 3.938 kB / 1.464 GB, free: 10.61 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.001331/0.7608, allocations: 0.6059 MB / 1.465 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7609, allocations: 18.19 kB / 1.465 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.761, allocations: 30.08 kB / 1.465 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7611, allocations: 203.8 kB / 1.465 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.7613, allocations: 269.6 kB / 1.465 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.7614, allocations: 28.53 kB / 1.465 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.7621, allocations: 263.2 kB / 1.465 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.7622, allocations: 7.141 kB / 1.465 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.7622, allocations: 6.109 kB / 1.465 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.7622, allocations: 5 kB / 1.465 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.763, allocations: 188.9 kB / 1.466 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.7644, allocations: 0.7787 MB / 1.466 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.7651, allocations: 211.6 kB / 1.467 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.7655, allocations: 137.9 kB / 1.467 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.7655, allocations: 11.23 kB / 1.467 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/0.7663, allocations: 318.4 kB / 1.467 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.262e-06/0.7663, allocations: 0 / 1.467 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001559/0.7679, allocations: 0.4977 MB / 1.467 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.768, allocations: 116.5 kB / 1.468 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.7682, allocations: 167.7 kB / 1.468 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.7683, allocations: 46.3 kB / 1.468 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.7683, allocations: 119.2 kB / 1.468 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.7685, allocations: 148.3 kB / 1.468 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.7685, allocations: 14.94 kB / 1.468 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.7686, allocations: 339.3 kB / 1.468 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.7691, allocations: 155.8 kB / 1.469 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.7697, allocations: 253.3 kB / 1.469 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.7703, allocations: 177.4 kB / 1.469 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.7703, allocations: 0.5312 kB / 1.469 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001443/0.7717, allocations: 0.4889 MB / 1.469 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7718, allocations: 6.062 kB / 1.469 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.7718, allocations: 3.578 kB / 1.469 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.7718, allocations: 5.625 kB / 1.469 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.7724, allocations: 98.45 kB / 1.47 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.7725, allocations: 9.922 kB / 1.47 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.7729, allocations: 77.62 kB / 1.47 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.773, allocations: 20.48 kB / 1.47 GB, free: 6.949 MB / 0.6042 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.0002724/0.7733, allocations: 163.6 kB / 1.47 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.7733, allocations: 28.86 kB / 1.47 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.7734, allocations: 40.84 kB / 1.47 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.7735, allocations: 5.25 kB / 1.47 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.882e-06/0.7735, allocations: 1.406 kB / 1.47 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.931e-06/0.7735, allocations: 3.25 kB / 1.47 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.7741, allocations: 349.8 kB / 1.47 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.757e-06/0.7741, allocations: 0.875 kB / 1.47 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.7747, allocations: 81.88 kB / 1.47 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.332e-06/0.7748, allocations: 2.219 kB / 1.47 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.7748, allocations: 22.97 kB / 1.47 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.002e-06/0.7749, allocations: 3.344 kB / 1.47 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.064e-06/0.7749, allocations: 0.75 kB / 1.47 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.7766, allocations: 0.5928 MB / 1.471 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.7767, allocations: 106 kB / 1.471 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.7768, allocations: 12.86 kB / 1.471 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.7772, allocations: 48.64 kB / 1.471 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7773, allocations: 38.66 kB / 1.471 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.7774, allocations: 17.48 kB / 1.471 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001251/0.7775, allocations: 126.2 kB / 1.471 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.28e-07/0.7775, allocations: 0.5 kB / 1.471 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005258/0.7781, allocations: 87.55 kB / 1.471 GB, free: 5.953 MB / 0.6042 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.0001705/0.7783, allocations: 118.9 kB / 1.471 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.7794, allocations: 395 kB / 1.472 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7795, allocations: 3.938 kB / 1.472 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.7801, allocations: 187.5 kB / 1.472 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.7806, allocations: 47.64 kB / 1.472 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.7821, allocations: 0.694 MB / 1.473 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.7824, allocations: 0.7717 MB / 1.473 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002645/0.7827, allocations: 38.23 kB / 1.473 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.7828, allocations: 38.38 kB / 1.474 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of SimCode: time 1.833e-06/0.7828, allocations: 0.6875 kB / 1.474 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of Templates: time 0.009819/0.7927, allocations: 3.043 MB / 1.477 GB, free: 4.297 MB / 0.6042 GB