Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_11_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.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.661/2.661, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 74.22 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2837, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002563/0.2863, allocations: 1.11 MB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2879, allocations: 1.106 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.288, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.2881, allocations: 15.75 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.2883, allocations: 47.52 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.2888, allocations: 147.7 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.2892, allocations: 327.2 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.2893, allocations: 44.39 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2896, allocations: 135.5 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.2898, allocations: 147.4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.2899, allocations: 28 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.2899, allocations: 35.94 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.29, allocations: 79.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2902, allocations: 135.3 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.2905, allocations: 311.2 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2905, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2905, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.2906, allocations: 0 / 1.068 GB, free: 10.54 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.001284/0.2918, allocations: 0.6197 MB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2919, allocations: 8.031 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.56e-05/0.292, allocations: 62.72 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/0.2921, allocations: 28.66 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2923, allocations: 208.7 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.2925, allocations: 268.3 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.2926, allocations: 28.38 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.2931, allocations: 262.1 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.2931, allocations: 3.906 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.2932, allocations: 8 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2932, allocations: 4 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.2936, allocations: 183.8 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2948, allocations: 0.7735 MB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.2953, allocations: 207.7 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.2955, allocations: 138.5 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2956, allocations: 15.97 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.2961, allocations: 311.9 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 3.537e-06/0.2961, allocations: 3.938 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.0009739/0.2971, allocations: 487.2 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.2972, allocations: 110.8 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.2974, allocations: 179.4 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.2974, allocations: 37.7 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2975, allocations: 121.3 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2976, allocations: 150 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.2978, allocations: 106.3 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2979, allocations: 342.8 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.2982, allocations: 141.2 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.2986, allocations: 260.7 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.2993, allocations: 390.1 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2993, allocations: 0 / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008197/0.3001, allocations: 492.9 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3001, allocations: 11.88 kB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3001, allocations: 4 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3002, allocations: 4 kB / 1.073 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.3005, allocations: 99.83 kB / 1.073 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3005, allocations: 7.938 kB / 1.073 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.3008, allocations: 63.64 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.3008, allocations: 20 kB / 1.074 GB, free: 4.043 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.0001576/0.301, allocations: 159.4 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3011, allocations: 35.56 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.3011, allocations: 33.86 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3011, allocations: 11.94 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3012, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3012, allocations: 3.984 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3015, allocations: 345.2 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3015, allocations: 0 / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.3019, allocations: 75.89 kB / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.3019, allocations: 7.938 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.302, allocations: 11.98 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.302, allocations: 12.06 kB / 1.074 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.302, allocations: 0 / 1.074 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.303, allocations: 0.5803 MB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3031, allocations: 108.7 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.3031, allocations: 12 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3034, allocations: 32.05 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3035, allocations: 59.92 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.3035, allocations: 11.98 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.112e-05/0.3036, allocations: 133.2 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3036, allocations: 0 / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002954/0.3039, allocations: 72 kB / 1.075 GB, free: 2.258 MB / 0.8262 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.001363/0.3053, allocations: 1.155 MB / 1.076 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007433/0.3061, allocations: 412.4 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3061, allocations: 0 / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.3064, allocations: 195.8 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3067, allocations: 50 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.3107, allocations: 3.171 MB / 1.08 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3111, allocations: 0.7647 MB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.3112, allocations: 38.97 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3114, allocations: 91.39 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3114, allocations: 4 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.159/1.47, allocations: 6.538 MB / 1.087 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.97, allocations: 4.344 kB / 1.087 GB, free: 5.75 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1)