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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001414/0.001414, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.577/1.577, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.074/3.074, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 70.3 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3938, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002834/0.3967, allocations: 1.16 MB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3985, allocations: 1.123 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3987, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.397e-05/0.3988, allocations: 7.875 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.399, allocations: 35.7 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.3995, allocations: 131.7 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.3999, allocations: 299.2 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.4001, allocations: 52.23 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.4003, allocations: 119.6 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.4005, allocations: 147.3 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.4006, allocations: 27.94 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.4007, allocations: 16 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.4008, allocations: 67.78 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.4009, allocations: 119.4 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.4012, allocations: 295.2 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4013, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4013, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.4013, allocations: 0 / 1.071 GB, free: 7.344 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.001493/0.4028, allocations: 0.6328 MB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4028, allocations: 8.031 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.4029, allocations: 32.66 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.4032, allocations: 208.8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.4034, allocations: 268.3 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/0.4035, allocations: 28.38 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.404, allocations: 254.3 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.4041, allocations: 11.84 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.4041, allocations: 8 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.4041, allocations: 8 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.4046, allocations: 175.8 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.4059, allocations: 0.7775 MB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.4064, allocations: 212.2 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.4067, allocations: 126.5 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.4067, allocations: 11.97 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/0.4074, allocations: 308 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.4074, allocations: 3.938 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.0011/0.4085, allocations: 487.5 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.4086, allocations: 110.8 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.4088, allocations: 171.5 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.4089, allocations: 45.69 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.409, allocations: 117.3 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.4092, allocations: 150 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.4094, allocations: 106.3 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4096, allocations: 346.8 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.4099, allocations: 145.2 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.4104, allocations: 256.8 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.4111, allocations: 394 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4111, allocations: 0 / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009635/0.4121, allocations: 497.1 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.4121, allocations: 15.88 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4122, allocations: 4 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4122, allocations: 8 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.4126, allocations: 95.83 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.4126, allocations: 7.984 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.4129, allocations: 55.56 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.413, allocations: 24 kB / 1.077 GB, free: 0.9023 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.0002077/0.4132, allocations: 163.5 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.4133, allocations: 35.64 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.4133, allocations: 33.81 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4134, allocations: 4 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4134, allocations: 0 / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4134, allocations: 7.984 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.4138, allocations: 353.2 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4138, allocations: 3.984 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.4143, allocations: 71.91 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.4143, allocations: 7.938 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.4143, allocations: 15.98 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4143, allocations: 3.938 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4143, allocations: 0 / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.4154, allocations: 0.5784 MB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.4155, allocations: 104.8 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.4156, allocations: 15.92 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4158, allocations: 27.97 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.416, allocations: 59.95 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.416, allocations: 16 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.885e-05/0.4161, allocations: 129.1 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.883e-06/0.4162, allocations: 4 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003378/0.4165, allocations: 83.84 kB / 1.079 GB, free: 15.11 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.0002244/0.4167, allocations: 119.2 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007947/0.4175, allocations: 380.2 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4175, allocations: 4 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.418, allocations: 200.6 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.4184, allocations: 45.36 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.42, allocations: 0.7094 MB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4204, allocations: 0.7647 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.4206, allocations: 34.97 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.4207, allocations: 35.42 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.4207, allocations: 0 / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.008896/0.4296, allocations: 3.411 MB / 1.084 GB, free: 9.383 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)