Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 191 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.3 kB / 0.9116 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002191/0.3317, allocations: 1.152 MB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3331, allocations: 1.119 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.3332, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.3333, allocations: 11.86 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3334, allocations: 31.7 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3339, allocations: 139.8 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.3342, allocations: 315.2 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3343, allocations: 48.25 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3345, allocations: 135.6 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3347, allocations: 151.3 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.3348, allocations: 32 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.3348, allocations: 28 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.3349, allocations: 75.78 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.335, allocations: 139.4 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3353, allocations: 307.2 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3353, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3353, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3353, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 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.001189/0.3365, allocations: 0.6312 MB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3366, allocations: 8.031 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.3366, allocations: 36.64 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3368, allocations: 200.7 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.337, allocations: 264.3 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.3371, allocations: 36.36 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.3376, allocations: 250.3 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3376, allocations: 15.83 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3376, allocations: 8 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3376, allocations: 4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.3381, allocations: 175.8 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.3391, allocations: 0.7775 MB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.3397, allocations: 203.7 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.3399, allocations: 138.5 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.34, allocations: 11.92 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.3406, allocations: 308 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 3.767e-06/0.3406, allocations: 3.938 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001027/0.3417, allocations: 492 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.3418, allocations: 118.8 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3419, allocations: 171.5 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.342, allocations: 37.7 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.3421, allocations: 117.3 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3422, allocations: 153.9 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3424, allocations: 98.34 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3425, allocations: 346.8 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.3429, allocations: 153.2 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.3432, allocations: 252.7 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.3439, allocations: 394.1 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3439, allocations: 0 / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008443/0.3448, allocations: 493.4 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3448, allocations: 15.92 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3448, allocations: 4 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3448, allocations: 4.062 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.3452, allocations: 95.83 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3453, allocations: 11.94 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.3455, allocations: 55.56 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3456, allocations: 24 kB / 1.077 GB, free: 0.6289 MB / 0.8262 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.3458, allocations: 163.4 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3458, allocations: 31.66 kB / 1.077 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.3459, allocations: 33.86 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3459, allocations: 7.938 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3459, allocations: 0 / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3459, allocations: 4 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3463, allocations: 357.2 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3463, allocations: 4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3467, allocations: 75.89 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3467, allocations: 3.938 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.3468, allocations: 8 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3468, allocations: 7.984 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3468, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3478, allocations: 0.5823 MB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3479, allocations: 100.8 kB / 1.078 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.3479, allocations: 11.94 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.3482, allocations: 35.95 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3483, allocations: 56.12 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.3484, allocations: 16 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.256e-05/0.3485, allocations: 133.1 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3485, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003171/0.3488, allocations: 83.91 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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 (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.0002026/0.349, allocations: 130.3 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007481/0.3497, allocations: 402.6 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3498, allocations: 0 / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.3501, allocations: 199.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3505, allocations: 54 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3516, allocations: 0.6854 MB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3519, allocations: 0.7725 MB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.3521, allocations: 39.23 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3522, allocations: 43.36 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3522, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.006813/0.359, allocations: 3.594 MB / 1.085 GB, free: 8.898 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1)