Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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_nonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.000892/0.000892, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00627/0.00627, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.327/2.327, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004551, allocations: 12 kB / 0.873 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5836, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.001555/0.5851, allocations: 1.665 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.586, allocations: 0.6428 MB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.586, allocations: 4 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.5861, allocations: 7.875 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/0.5862, allocations: 35.69 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.5865, allocations: 135.8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.5867, allocations: 295.2 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.5868, allocations: 48.33 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.587, allocations: 123.5 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.5871, allocations: 131.4 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.5872, allocations: 16 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.736e-05/0.5872, allocations: 16 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.5872, allocations: 63.78 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.5873, allocations: 145.1 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.5875, allocations: 285.2 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.5875, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5876, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.5876, allocations: 0 / 1.027 GB, free: 12.2 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.0008951/0.5885, allocations: 0.6043 MB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.5885, allocations: 8.031 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.5886, allocations: 54.73 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.5886, allocations: 36.56 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.611e-05/0.5887, allocations: 204.8 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5889, allocations: 264.3 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.5889, allocations: 32.38 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.5893, allocations: 269.6 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5893, allocations: 4 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.5894, allocations: 7.984 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5894, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.5898, allocations: 195.8 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.5906, allocations: 0.7813 MB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.591, allocations: 212.5 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.5912, allocations: 138.5 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.5913, allocations: 16.36 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000435/0.5917, allocations: 319.4 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 2.715e-06/0.5917, allocations: 0 / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.0008556/0.5926, allocations: 0.4926 MB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5926, allocations: 122.7 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.5928, allocations: 175.4 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5928, allocations: 41.7 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.5929, allocations: 117.3 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.593, allocations: 150 kB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.593, allocations: 61.67 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.5931, allocations: 342.8 kB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.5934, allocations: 153.2 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.5937, allocations: 256.8 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.5943, allocations: 414 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5943, allocations: 0 / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007329/0.595, allocations: 0.4933 MB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.595, allocations: 8 kB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5951, allocations: 4 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.5951, allocations: 4 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.5954, allocations: 99.83 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5954, allocations: 8 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.5957, allocations: 67.66 kB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.5957, allocations: 23.98 kB / 1.033 GB, free: 5.672 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.0001243/0.5958, allocations: 159.5 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.5959, allocations: 35.5 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.5959, allocations: 33.86 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.596, allocations: 11.94 kB / 1.033 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.596, allocations: 4.062 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.596, allocations: 0 / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.5963, allocations: 365.2 kB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5963, allocations: 3.938 kB / 1.033 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.5966, allocations: 79.89 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5966, allocations: 0 / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.5967, allocations: 19.98 kB / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5967, allocations: 0 / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5967, allocations: 7.938 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.5976, allocations: 0.6017 MB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.5977, allocations: 108.6 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.5977, allocations: 8 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.5979, allocations: 47.95 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.598, allocations: 51.92 kB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5981, allocations: 16 kB / 1.034 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.843e-05/0.5982, allocations: 129.2 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5982, allocations: 0 / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002772/0.5984, allocations: 83.98 kB / 1.034 GB, free: 3.828 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.001129/0.5996, allocations: 1.17 MB / 1.035 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005939/0.6002, allocations: 386.8 kB / 1.036 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.6002, allocations: 0 / 1.036 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.6005, allocations: 215.7 kB / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.6008, allocations: 38.22 kB / 1.036 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.6041, allocations: 3.319 MB / 1.039 GB, free: 14.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.6044, allocations: 0.7608 MB / 1.04 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000139/0.6045, allocations: 43.22 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.6046, allocations: 87.41 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.6046, allocations: 0 / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2135/0.8182, allocations: 5.77 MB / 1.046 GB, free: 8.031 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.8185, allocations: 225 kB / 1.046 GB, free: 7.777 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.684, allocations: 7.938 kB / 1.046 GB, free: 7.77 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat