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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001208/0.001208, 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.001178/0.001178, 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437 MB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5876, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002833/0.5904, allocations: 2.016 MB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.5913, allocations: 0.6506 MB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.5914, allocations: 4 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.5915, allocations: 11.86 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.5916, allocations: 35.7 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.592, allocations: 131.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.5923, allocations: 323.1 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.5924, allocations: 48.33 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.5926, allocations: 135.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.5928, allocations: 151.3 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.5928, allocations: 32 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.905e-05/0.5929, allocations: 28 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.5929, allocations: 79.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.5931, allocations: 147.3 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.5933, allocations: 297.2 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5933, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5933, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5933, allocations: 0 / 1.021 GB, free: 14.74 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.001132/0.5945, allocations: 0.6198 MB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5945, allocations: 8.031 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.5946, allocations: 58.73 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.5947, allocations: 36.56 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.5948, allocations: 204.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.595, allocations: 268.3 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.5951, allocations: 28.38 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.5955, allocations: 257.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5956, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.5956, allocations: 11.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5956, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.596, allocations: 175.8 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.597, allocations: 0.7775 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.5974, allocations: 204.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.5977, allocations: 142.5 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.5977, allocations: 4.375 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.5982, allocations: 311.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 4.308e-06/0.5983, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.000913/0.5992, allocations: 482.7 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.5993, allocations: 118.8 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.5994, allocations: 179.4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.5994, allocations: 37.7 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.5995, allocations: 121.3 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5997, allocations: 150 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.5998, allocations: 102.3 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6, allocations: 342.8 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.6002, allocations: 149.2 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.6006, allocations: 252.7 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.6012, allocations: 402 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6012, allocations: 0 / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007845/0.602, allocations: 492.8 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.602, allocations: 8 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6021, allocations: 4 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6021, allocations: 7.938 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.6024, allocations: 99.81 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.6025, allocations: 11.94 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.6027, allocations: 51.66 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.6028, allocations: 20 kB / 1.027 GB, free: 8.27 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.0001572/0.6029, allocations: 160.1 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.603, allocations: 35.66 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.603, allocations: 29.88 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6031, allocations: 7.938 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6031, allocations: 0 / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6031, allocations: 7.984 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.6034, allocations: 361.1 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6034, allocations: 7.938 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.6038, allocations: 71.89 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.6038, allocations: 0 / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.6039, allocations: 12 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6039, allocations: 8 kB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6039, allocations: 0 / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.6048, allocations: 0.5822 MB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.6049, allocations: 112.6 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.605, allocations: 12 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.6052, allocations: 31.97 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6053, allocations: 55.92 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.6054, allocations: 16 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.003e-05/0.6054, allocations: 125.2 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6054, allocations: 0 / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003012/0.6058, allocations: 80 kB / 1.028 GB, free: 6.477 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.001245/0.607, allocations: 1.162 MB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007147/0.6077, allocations: 400.4 kB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6077, allocations: 0 / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.6081, allocations: 196.7 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.6084, allocations: 60.86 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.6123, allocations: 3.243 MB / 1.033 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.6126, allocations: 0.7608 MB / 1.034 GB, free: 452 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.6127, allocations: 42.95 kB / 1.034 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.6129, allocations: 91.41 kB / 1.034 GB, free: 320 kB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6129, allocations: 0 / 1.034 GB, free: 320 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/0.6594, allocations: 6.079 MB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.6596, allocations: 220.5 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.537, allocations: 3.875 kB / 1.04 GB, free: 10.18 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