Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004429/0.004429, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001234/0.001234, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7106 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 75.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2493, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001982/0.2513, allocations: 1.113 MB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2525, allocations: 1.104 MB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.2525, allocations: 0 / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.2526, allocations: 27.61 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2527, allocations: 43.58 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2531, allocations: 151.7 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.2534, allocations: 327.1 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2535, allocations: 48.38 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2537, allocations: 127.7 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2539, allocations: 155.3 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.2539, allocations: 32 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.254, allocations: 28 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.254, allocations: 75.78 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2542, allocations: 135.4 kB / 1.17 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2544, allocations: 319 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2545, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2545, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2545, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 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.001033/0.2555, allocations: 0.6312 MB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.207e-05/0.2555, allocations: 8.031 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.2556, allocations: 58.72 kB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.2557, allocations: 36.73 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2558, allocations: 200.9 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.256, allocations: 260.3 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.256, allocations: 40.31 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.2565, allocations: 262.1 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2565, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.2565, allocations: 8 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2566, allocations: 4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.257, allocations: 179.8 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.2579, allocations: 0.7699 MB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.2583, allocations: 203.7 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.2586, allocations: 134.5 kB / 1.173 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.2586, allocations: 15.98 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.2591, allocations: 320 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.2591, allocations: 3.938 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.0009274/0.26, allocations: 487.9 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.2601, allocations: 114.8 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2603, allocations: 171.5 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.2603, allocations: 41.7 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.2604, allocations: 125.2 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2605, allocations: 158.7 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.2606, allocations: 102.3 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2608, allocations: 342.8 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.2611, allocations: 149.2 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.2614, allocations: 256.7 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.2621, allocations: 398 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2621, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007963/0.2629, allocations: 0.4897 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2629, allocations: 7.938 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2629, allocations: 4 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2629, allocations: 4 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2633, allocations: 103.8 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2633, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.2635, allocations: 59.75 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.2636, allocations: 19.98 kB / 1.176 GB, free: 13.09 MB / 0.9356 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.0001426/0.2637, allocations: 159.5 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.2638, allocations: 31.75 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.2638, allocations: 37.8 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2638, allocations: 4 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2639, allocations: 4 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2639, allocations: 0 / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.2642, allocations: 361.3 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2642, allocations: 0 / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.2646, allocations: 71.89 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.2646, allocations: 7.938 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.2647, allocations: 15.98 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2647, allocations: 0 / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2647, allocations: 4.062 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.2657, allocations: 0.5864 MB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.2657, allocations: 112.7 kB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.2658, allocations: 8 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.266, allocations: 31.95 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2661, allocations: 55.94 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.2662, allocations: 19.98 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.301e-05/0.2662, allocations: 121.2 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.064e-06/0.2663, allocations: 0 / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002824/0.2665, allocations: 83.94 kB / 1.177 GB, free: 11.29 MB / 0.9356 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.001311/0.2679, allocations: 1.159 MB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006792/0.2685, allocations: 386.7 kB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2686, allocations: 0 / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.2689, allocations: 188.9 kB / 1.179 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2692, allocations: 39.48 kB / 1.179 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.2729, allocations: 3.174 MB / 1.182 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2732, allocations: 0.7608 MB / 1.183 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.2734, allocations: 42.95 kB / 1.183 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.2735, allocations: 95.39 kB / 1.183 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2735, allocations: 4 kB / 1.183 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.148/4.422, allocations: 6.515 MB / 1.189 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/15.31, allocations: 11.64 kB / 1.189 GB, free: 14.84 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1)