Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",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.009796/0.009796, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001733/0.001733, allocations: 197 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.005/2.005, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.7/2.7, allocations: 390.3 MB / 0.6648 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 59.91 kB / 0.9505 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9702, allocations: 140.4 MB / 1.088 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002406/0.9727, allocations: 1.973 MB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.9735, allocations: 0.6454 MB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.9735, allocations: 2.312 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.9736, allocations: 18.66 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.9737, allocations: 45.58 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.9741, allocations: 150.3 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.9743, allocations: 328.8 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.9745, allocations: 46.47 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.9746, allocations: 132.4 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.9748, allocations: 151.7 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.9749, allocations: 29.47 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.9749, allocations: 30.06 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.975, allocations: 76.95 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.894e-05/0.9751, allocations: 138.5 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.9754, allocations: 309.2 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9754, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9754, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9754, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 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.001025/0.9764, allocations: 0.6281 MB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.9765, allocations: 8.938 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.9765, allocations: 60.25 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.9766, allocations: 30.95 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.058e-05/0.9767, allocations: 197.5 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.9768, allocations: 262 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.9769, allocations: 32.62 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.9773, allocations: 268.3 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.9774, allocations: 5.844 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.9774, allocations: 11.2 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.9774, allocations: 4.938 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.9778, allocations: 173.8 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.9787, allocations: 0.7776 MB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.9791, allocations: 211.5 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.9793, allocations: 130.8 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.9794, allocations: 7.797 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.9799, allocations: 311.3 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/0.9799, allocations: 0 / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.0009713/0.9809, allocations: 485.2 kB / 1.095 GB, free: 352 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.9809, allocations: 119.5 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.981, allocations: 181.8 kB / 1.095 GB, free: 80 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.9811, allocations: 38.78 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.9812, allocations: 117.7 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.9813, allocations: 145.5 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.9814, allocations: 104.6 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9815, allocations: 339.5 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.9819, allocations: 152.4 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.9822, allocations: 255.4 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.9829, allocations: 397.6 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9829, allocations: 0.5312 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008151/0.9837, allocations: 494 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9837, allocations: 7.719 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9838, allocations: 6.031 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.9838, allocations: 5.812 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.9841, allocations: 95.05 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9842, allocations: 6.469 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.9844, allocations: 57.83 kB / 1.097 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.9845, allocations: 25.09 kB / 1.097 GB, free: 14.73 MB / 0.8731 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.0001442/0.9846, allocations: 161.5 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.9847, allocations: 29.62 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.9848, allocations: 31.17 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.9848, allocations: 10.08 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.9848, allocations: 1.594 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9848, allocations: 3.578 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.9851, allocations: 355.3 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.9852, allocations: 8.781 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.9855, allocations: 75.11 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.9856, allocations: 6.188 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.9856, allocations: 11.92 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.9856, allocations: 2.781 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9856, allocations: 0.7031 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9866, allocations: 0.5884 MB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.9867, allocations: 110.3 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.9867, allocations: 12.75 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.987, allocations: 36.81 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.9871, allocations: 53.94 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.9871, allocations: 15.92 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.9872, allocations: 130.6 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9872, allocations: 1.125 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003019/0.9875, allocations: 83.38 kB / 1.099 GB, free: 13.7 MB / 0.8731 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.001292/0.9888, allocations: 1.15 MB / 1.1 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007033/0.9896, allocations: 373.8 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9896, allocations: 0.875 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.9899, allocations: 198 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.9903, allocations: 43.3 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.9941, allocations: 3.155 MB / 1.104 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.9944, allocations: 0.763 MB / 1.105 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000141/0.9945, allocations: 43.52 kB / 1.105 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.9947, allocations: 92.12 kB / 1.105 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9947, allocations: 0 / 1.105 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.651/5.646, allocations: 6.544 MB / 1.111 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/19.49, allocations: 10.89 kB / 1.111 GB, free: 9.172 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1)