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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001247/0.001247, 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.001097/0.001097, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.5995, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002142/0.6017, allocations: 1.167 MB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.603, allocations: 1.115 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.6031, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.134e-05/0.6032, allocations: 7.875 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.6033, allocations: 35.7 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.6038, allocations: 131.8 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.6041, allocations: 307.2 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.6042, allocations: 52.27 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.6044, allocations: 115.6 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.6046, allocations: 143.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.6046, allocations: 20 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.6047, allocations: 16 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.6047, allocations: 67.78 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.6049, allocations: 123.4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.6051, allocations: 301.2 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6051, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6051, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.6051, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 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.001117/0.6063, allocations: 0.6276 MB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.6063, allocations: 8.031 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.6064, allocations: 58.73 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.6064, allocations: 36.56 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.6066, allocations: 200.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.6068, allocations: 264.3 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.6068, allocations: 28.38 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.6073, allocations: 262.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6073, allocations: 7.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.6074, allocations: 11.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.6074, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.6078, allocations: 171.9 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009968/0.6088, allocations: 0.7775 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.6092, allocations: 203.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.6095, allocations: 143.4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.6095, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.61, allocations: 315.5 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/0.61, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.0009403/0.611, allocations: 483.6 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.6111, allocations: 118.8 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.6112, allocations: 179.4 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.6112, allocations: 37.7 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.6113, allocations: 117.3 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.6114, allocations: 158 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.6116, allocations: 102.3 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6117, allocations: 342.8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.612, allocations: 149.2 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.6124, allocations: 256.7 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.613, allocations: 398 kB / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/0.613, allocations: 0 / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007973/0.6138, allocations: 493.2 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6138, allocations: 13.66 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6138, allocations: 0 / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6139, allocations: 11.98 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.6142, allocations: 91.83 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.6142, allocations: 12 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.6145, allocations: 51.66 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.6145, allocations: 20 kB / 1.026 GB, free: 8.68 MB / 0.7794 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.0001428/0.6147, allocations: 160 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.6147, allocations: 31.66 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.6148, allocations: 33.88 kB / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6148, allocations: 4 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6148, allocations: 0 / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6148, allocations: 7.984 kB / 1.026 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.6152, allocations: 365 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6152, allocations: 4 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.6156, allocations: 71.89 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6156, allocations: 3.938 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.6156, allocations: 12 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6156, allocations: 4 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6156, allocations: 3.938 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.6166, allocations: 0.5854 MB / 1.027 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.6167, allocations: 108.7 kB / 1.027 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.6167, allocations: 12.06 kB / 1.027 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.617, allocations: 36.16 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6171, allocations: 55.92 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.6171, allocations: 20.02 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.6172, allocations: 129.1 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6172, allocations: 0 / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003146/0.6176, allocations: 83.94 kB / 1.028 GB, free: 6.875 MB / 0.7794 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.001281/0.6188, allocations: 1.151 MB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.6195, allocations: 378.8 kB / 1.029 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6195, allocations: 0 / 1.029 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.6199, allocations: 196 kB / 1.029 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.6202, allocations: 48.41 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.6241, allocations: 3.249 MB / 1.033 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.6244, allocations: 0.7647 MB / 1.033 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.6246, allocations: 38.97 kB / 1.033 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.6247, allocations: 83.41 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6247, allocations: 0 / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.6408, allocations: 5.853 MB / 1.039 GB, free: 11.03 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.641, allocations: 214.1 kB / 1.039 GB, free: 10.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.372, allocations: 7.375 kB / 1.039 GB, free: 10.77 MB / 0.795 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=50 --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)