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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001358/0.001358, 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.001641/0.001641, allocations: 193 kB / 16.13 MB, free: 6.648 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001549, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5401, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.001801/0.5419, allocations: 1.153 MB / 0.9502 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.5429, allocations: 1.093 MB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.5429, allocations: 1.375 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.543, allocations: 15.8 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.5431, allocations: 33.2 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.5434, allocations: 137.7 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.5436, allocations: 313.8 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.5438, allocations: 48.22 kB / 0.9518 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.5439, allocations: 115.4 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.544, allocations: 142.5 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.5441, allocations: 16.56 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.5441, allocations: 18.06 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.5442, allocations: 67.38 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.5443, allocations: 124.3 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.5445, allocations: 293.3 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5445, allocations: 0 / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.82e-07/0.5445, allocations: 5.531 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.5445, allocations: 0 / 0.9525 GB, free: 6.531 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.0009833/0.5455, allocations: 0.6334 MB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5455, allocations: 9.312 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.5456, allocations: 58.23 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.5456, allocations: 29.78 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.5457, allocations: 199.2 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.5458, allocations: 266.9 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.5459, allocations: 31.22 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.5463, allocations: 264.7 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5463, allocations: 5.406 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.5463, allocations: 6.75 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5463, allocations: 8.844 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.5467, allocations: 173.8 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.5474, allocations: 0.7888 MB / 0.9549 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.5478, allocations: 206.2 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.548, allocations: 135 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.548, allocations: 11.25 kB / 0.9553 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.5485, allocations: 309.1 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/0.5485, allocations: 0 / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0008055/0.5493, allocations: 483 kB / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5493, allocations: 118.6 kB / 0.9561 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.5494, allocations: 177.4 kB / 0.9563 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.5495, allocations: 40.73 kB / 0.9563 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.5495, allocations: 124.8 kB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.5496, allocations: 144.6 kB / 0.9566 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.5497, allocations: 109.7 kB / 0.9567 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.5498, allocations: 345 kB / 0.957 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.55, allocations: 141.9 kB / 0.9572 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.5503, allocations: 258.7 kB / 0.9574 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.5508, allocations: 393.9 kB / 0.9578 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5509, allocations: 4.75 kB / 0.9578 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006978/0.5516, allocations: 491.2 kB / 0.9583 GB, free: 2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5516, allocations: 10.03 kB / 0.9583 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5516, allocations: 2.344 kB / 0.9583 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5516, allocations: 6.125 kB / 0.9583 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.552, allocations: 101.6 kB / 0.9584 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.552, allocations: 5.094 kB / 0.9584 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.5522, allocations: 61.16 kB / 0.9584 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.5523, allocations: 20.34 kB / 0.9585 GB, free: 1.922 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.0001081/0.5524, allocations: 160.1 kB / 0.9586 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.5524, allocations: 27.94 kB / 0.9586 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.5525, allocations: 30.91 kB / 0.9587 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5525, allocations: 5.625 kB / 0.9587 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5525, allocations: 4.75 kB / 0.9587 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5525, allocations: 4.703 kB / 0.9587 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.5528, allocations: 353.1 kB / 0.959 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5528, allocations: 0.9062 kB / 0.959 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.5531, allocations: 75.41 kB / 0.9591 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5532, allocations: 10.95 kB / 0.9591 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.5532, allocations: 12.34 kB / 0.9591 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5532, allocations: 2.219 kB / 0.9591 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5532, allocations: 1.344 kB / 0.9591 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.5541, allocations: 0.578 MB / 0.9597 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.5541, allocations: 109.7 kB / 0.9598 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.5542, allocations: 15.83 kB / 0.9598 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.5544, allocations: 30.97 kB / 0.9598 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5545, allocations: 55.8 kB / 0.9599 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.5546, allocations: 19.45 kB / 0.9599 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.087e-05/0.5546, allocations: 121.1 kB / 0.96 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5546, allocations: 0 / 0.96 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002846/0.5549, allocations: 83.09 kB / 0.9601 GB, free: 0.7422 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.001109/0.556, allocations: 1.152 MB / 0.9612 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006114/0.5567, allocations: 389.5 kB / 0.9616 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5567, allocations: 0 / 0.9616 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.557, allocations: 198.3 kB / 0.9618 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.5573, allocations: 42.22 kB / 0.9618 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.5608, allocations: 3.25 MB / 0.965 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5611, allocations: 0.7622 MB / 0.9657 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000155/0.5613, allocations: 45.09 kB / 0.9658 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.5614, allocations: 84.31 kB / 0.9659 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5614, allocations: 0 / 0.9659 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.149/2.71, allocations: 5.859 MB / 0.9716 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/2.711, allocations: 216.8 kB / 0.9718 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/5.406, allocations: 0 / 0.9718 GB, free: 9.367 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)