Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.006636/0.006636, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001631/0.001631, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.511/2.511, allocations: 482.6 MB / 0.7551 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 66.59 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2771, allocations: 162.3 MB / 1.242 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002976/0.2801, allocations: 1.963 MB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.2811, allocations: 0.6442 MB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.2812, allocations: 4 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.2812, allocations: 19.73 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2813, allocations: 47.52 kB / 1.245 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.2818, allocations: 143.8 kB / 1.245 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.2821, allocations: 323.1 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2822, allocations: 56.36 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2824, allocations: 127.7 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.2826, allocations: 151.3 kB / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2827, allocations: 31.94 kB / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.2827, allocations: 28 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.2828, allocations: 83.78 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2829, allocations: 135.4 kB / 1.246 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2833, allocations: 311 kB / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2833, allocations: 3.984 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2833, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2833, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9669 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.001144/0.2844, allocations: 0.6312 MB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2845, allocations: 8.031 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.2845, allocations: 58.73 kB / 1.247 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.2846, allocations: 36.8 kB / 1.247 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2848, allocations: 196.9 kB / 1.247 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.285, allocations: 272.3 kB / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.2851, allocations: 28.33 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.2855, allocations: 261.6 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2856, allocations: 4 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2856, allocations: 11.98 kB / 1.247 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2856, allocations: 4 kB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.286, allocations: 179.8 kB / 1.248 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.287, allocations: 0.7776 MB / 1.248 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.2875, allocations: 203.7 kB / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.2878, allocations: 130.5 kB / 1.249 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.2878, allocations: 16.36 kB / 1.249 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/0.2883, allocations: 311.5 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.2884, allocations: 3.938 kB / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.0009853/0.2893, allocations: 489.4 kB / 1.249 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.2894, allocations: 114.8 kB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2896, allocations: 172.1 kB / 1.25 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2896, allocations: 41.64 kB / 1.25 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.2897, allocations: 121.3 kB / 1.25 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.2898, allocations: 150.8 kB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.29, allocations: 106.3 kB / 1.25 GB, free: 240 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2902, allocations: 350.8 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.2905, allocations: 145.2 kB / 1.251 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.2908, allocations: 248.9 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.2914, allocations: 390 kB / 1.251 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.2915, allocations: 11.94 kB / 1.251 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008133/0.2923, allocations: 493 kB / 1.252 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2923, allocations: 8 kB / 1.252 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2923, allocations: 0 / 1.252 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2923, allocations: 8 kB / 1.252 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.2927, allocations: 95.88 kB / 1.252 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2927, allocations: 12 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.293, allocations: 59.7 kB / 1.252 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.293, allocations: 24.09 kB / 1.252 GB, free: 14.34 MB / 0.9825 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.0001589/0.2932, allocations: 163.9 kB / 1.252 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.2932, allocations: 31.8 kB / 1.252 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.2933, allocations: 33.81 kB / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2933, allocations: 8 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2933, allocations: 4 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.2933, allocations: 3.984 kB / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.2937, allocations: 357.2 kB / 1.252 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2937, allocations: 3.938 kB / 1.252 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.2941, allocations: 79.83 kB / 1.252 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2941, allocations: 4 kB / 1.252 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.2941, allocations: 8 kB / 1.252 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.2942, allocations: 4 kB / 1.252 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2942, allocations: 0 / 1.252 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2952, allocations: 0.5863 MB / 1.253 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.2953, allocations: 112.8 kB / 1.253 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.2953, allocations: 12 kB / 1.253 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2955, allocations: 32.06 kB / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.2957, allocations: 63.86 kB / 1.253 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.2957, allocations: 12 kB / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.721e-05/0.2958, allocations: 133.1 kB / 1.253 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.894e-06/0.2958, allocations: 0 / 1.253 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002884/0.2961, allocations: 79.94 kB / 1.253 GB, free: 12.52 MB / 0.9825 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.001347/0.2975, allocations: 1.139 MB / 1.255 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006949/0.2982, allocations: 384.8 kB / 1.255 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.2982, allocations: 4 kB / 1.255 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.2986, allocations: 191.7 kB / 1.255 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2989, allocations: 48.45 kB / 1.255 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.3027, allocations: 3.179 MB / 1.258 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3031, allocations: 0.7647 MB / 1.259 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.3032, allocations: 35.16 kB / 1.259 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3034, allocations: 91.41 kB / 1.259 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3034, allocations: 0 / 1.259 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8522/1.156, allocations: 6.535 MB / 1.266 GB, free: 116 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.54, allocations: 15.66 kB / 1.266 GB, free: 108 kB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1)