Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001494/0.001494, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001218/0.001219, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.766, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002214/0.7683, allocations: 1.606 MB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.7695, allocations: 0.6189 MB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.7697, allocations: 1.969 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.7698, allocations: 15.8 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.77, allocations: 39.56 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.7705, allocations: 122.2 kB / 0.956 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.7709, allocations: 192 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.7711, allocations: 39.78 kB / 0.9562 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.7713, allocations: 107.9 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.7716, allocations: 129.6 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.7716, allocations: 15.53 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.7717, allocations: 14.81 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.7718, allocations: 64.09 kB / 0.9565 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.7719, allocations: 67.42 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.7721, allocations: 203.7 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.7721, allocations: 1.312 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7721, allocations: 0 / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.7721, allocations: 0 / 0.9568 GB, free: 5.664 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.001209/0.7733, allocations: 0.6178 MB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7734, allocations: 11.31 kB / 0.9574 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.7735, allocations: 54.8 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.7736, allocations: 36.94 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.7737, allocations: 195.4 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.7739, allocations: 264.2 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.774, allocations: 34.52 kB / 0.9579 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.7745, allocations: 263 kB / 0.9582 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.7745, allocations: 5.719 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.7745, allocations: 9.922 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.7746, allocations: 9.297 kB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.775, allocations: 192.8 kB / 0.9584 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.7762, allocations: 0.7733 MB / 0.9591 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.7767, allocations: 215.2 kB / 0.9593 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.7768, allocations: 17.59 kB / 0.9594 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.7773, allocations: 316.4 kB / 0.9597 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.7773, allocations: 0 / 0.9597 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.001055/0.7784, allocations: 0.4893 MB / 0.9601 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.7784, allocations: 115.1 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.7786, allocations: 170.4 kB / 0.9604 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.7786, allocations: 42.61 kB / 0.9605 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.7787, allocations: 128.4 kB / 0.9606 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.7788, allocations: 145 kB / 0.9607 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.7788, allocations: 13.78 kB / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.7789, allocations: 338.1 kB / 0.9611 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.7792, allocations: 151.6 kB / 0.9612 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.7796, allocations: 260.4 kB / 0.9614 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.7799, allocations: 167.8 kB / 0.9616 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.7799, allocations: 4.922 kB / 0.9616 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008584/0.7808, allocations: 497.8 kB / 0.9621 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7808, allocations: 10.22 kB / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7809, allocations: 2.75 kB / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.7809, allocations: 5.969 kB / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.7813, allocations: 96.7 kB / 0.9622 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.7813, allocations: 9.5 kB / 0.9622 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.7816, allocations: 72.47 kB / 0.9623 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.7817, allocations: 27.02 kB / 0.9623 GB, free: 1.391 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 ($whenCondition5,$PRE.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.7819, allocations: 156.6 kB / 0.9624 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.7819, allocations: 28.11 kB / 0.9625 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.782, allocations: 34.8 kB / 0.9625 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.782, allocations: 9.562 kB / 0.9625 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.782, allocations: 1.094 kB / 0.9625 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.782, allocations: 5.359 kB / 0.9625 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.7824, allocations: 356.5 kB / 0.9629 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7824, allocations: 5.406 kB / 0.9629 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.7828, allocations: 81.47 kB / 0.9629 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.7828, allocations: 2.438 kB / 0.9629 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.7828, allocations: 16.83 kB / 0.963 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.7828, allocations: 3.406 kB / 0.963 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7828, allocations: 4 kB / 0.963 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.7839, allocations: 0.6178 MB / 0.9636 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.784, allocations: 101.9 kB / 0.9637 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.784, allocations: 7 kB / 0.9637 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.7843, allocations: 54.95 kB / 0.9637 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7844, allocations: 37.67 kB / 0.9638 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.7845, allocations: 19.02 kB / 0.9638 GB, free: 296 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.464e-05/0.7845, allocations: 121.7 kB / 0.9639 GB, free: 200 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7846, allocations: 0 / 0.9639 GB, free: 200 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003674/0.7849, allocations: 85.47 kB / 0.964 GB, free: 176 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/0.7866, allocations: 1.32 MB / 0.9653 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008449/0.7874, allocations: 392.8 kB / 0.9656 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7874, allocations: 0 / 0.9656 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.7879, allocations: 191.1 kB / 0.9658 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.7882, allocations: 31.88 kB / 0.9659 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.7907, allocations: 2.691 MB / 0.9685 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.7911, allocations: 0.7752 MB / 0.9692 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.7913, allocations: 40.92 kB / 0.9693 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.7915, allocations: 84 kB / 0.9694 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/0.7915, allocations: 5.344 kB / 0.9694 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.8109, allocations: 5.406 MB / 0.9746 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.8111, allocations: 219.8 kB / 0.9749 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.588, allocations: 0 / 0.9749 GB, free: 8.816 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat