Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001337/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001371/0.001371, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.283/2.283, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7763, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.002823/0.7792, allocations: 1.154 MB / 0.9504 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.7807, allocations: 1.112 MB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.7808, allocations: 6.688 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.469e-05/0.7809, allocations: 7.875 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.7811, allocations: 37.03 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.7817, allocations: 133.2 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.7821, allocations: 325.3 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.7824, allocations: 53.58 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.7826, allocations: 128.8 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.7829, allocations: 145.9 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.7829, allocations: 33.94 kB / 0.9523 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.783, allocations: 29.19 kB / 0.9523 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.7831, allocations: 84.34 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.7833, allocations: 136.9 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.7836, allocations: 307.8 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7836, allocations: 0 / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7836, allocations: 0 / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7836, allocations: 0 / 0.9528 GB, free: 6.32 MB / 0.7169 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.001156/0.7848, allocations: 0.6277 MB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7848, allocations: 8.938 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.7849, allocations: 66.81 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.785, allocations: 33.66 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.7851, allocations: 200 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.7853, allocations: 265.7 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.7853, allocations: 35.77 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.7858, allocations: 255.4 kB / 0.9543 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.7859, allocations: 10.06 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.7859, allocations: 6.812 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.7859, allocations: 8.906 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.7864, allocations: 170.5 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.7874, allocations: 0.7807 MB / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.788, allocations: 213.1 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.7883, allocations: 127.8 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.008e-05/0.7884, allocations: 11.08 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006442/0.789, allocations: 317 kB / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 2.034e-06/0.789, allocations: 0 / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.001087/0.7901, allocations: 481.5 kB / 0.9563 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.7902, allocations: 109.5 kB / 0.9564 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.7904, allocations: 185 kB / 0.9566 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.7904, allocations: 37.33 kB / 0.9566 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.7905, allocations: 131.4 kB / 0.9568 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.7906, allocations: 144.9 kB / 0.9569 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.7907, allocations: 106.8 kB / 0.957 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.7908, allocations: 341 kB / 0.9573 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.7911, allocations: 145.2 kB / 0.9575 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.7915, allocations: 258.2 kB / 0.9577 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.7921, allocations: 395 kB / 0.9581 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7921, allocations: 0 / 0.9581 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008662/0.793, allocations: 495.7 kB / 0.9586 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.793, allocations: 13.53 kB / 0.9586 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.793, allocations: 6.844 kB / 0.9586 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.7931, allocations: 5.5 kB / 0.9586 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.7935, allocations: 98.7 kB / 0.9587 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.7935, allocations: 5.438 kB / 0.9587 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.7937, allocations: 56.98 kB / 0.9587 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.7938, allocations: 23.69 kB / 0.9588 GB, free: 1.711 MB / 0.7169 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.0001513/0.794, allocations: 156.6 kB / 0.9589 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.794, allocations: 28.22 kB / 0.9589 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.7941, allocations: 33.67 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.7941, allocations: 5.594 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.7941, allocations: 1.156 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.7941, allocations: 1 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.7945, allocations: 357 kB / 0.9593 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7945, allocations: 1.375 kB / 0.9593 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.7949, allocations: 74.58 kB / 0.9594 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.7949, allocations: 11.06 kB / 0.9594 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.795, allocations: 12.2 kB / 0.9594 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.795, allocations: 3.188 kB / 0.9594 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.795, allocations: 4.812 kB / 0.9594 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.796, allocations: 0.5786 MB / 0.96 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.7961, allocations: 109.4 kB / 0.9601 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.7961, allocations: 11.78 kB / 0.9601 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.7964, allocations: 30.58 kB / 0.9601 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.7965, allocations: 56.06 kB / 0.9602 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.7965, allocations: 15.17 kB / 0.9602 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.7966, allocations: 129.5 kB / 0.9603 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7966, allocations: 0 / 0.9603 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003275/0.797, allocations: 82.78 kB / 0.9604 GB, free: 0.5312 MB / 0.7169 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.001421/0.7984, allocations: 1.156 MB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009032/0.7993, allocations: 408.1 kB / 0.9619 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7993, allocations: 1.312 kB / 0.9619 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.7998, allocations: 204.5 kB / 0.9621 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.8001, allocations: 39.39 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.8051, allocations: 3.242 MB / 0.9653 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.8055, allocations: 0.7617 MB / 0.9661 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.8056, allocations: 41.03 kB / 0.9661 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.8058, allocations: 91.06 kB / 0.9662 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.8059, allocations: 5.125 kB / 0.9662 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.8287, allocations: 6.069 MB / 0.9721 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.8289, allocations: 208.4 kB / 0.9723 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.996, allocations: 3.938 kB / 0.9723 GB, free: 9.031 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1)