Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004974/0.004974, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001402/0.001402, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 63.89 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2873, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002853/0.2901, allocations: 1.975 MB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.2911, allocations: 0.6466 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.2912, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.68e-05/0.2913, allocations: 23.67 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.2914, allocations: 39.58 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2918, allocations: 151.7 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.2921, allocations: 327.1 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2922, allocations: 52.31 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.2924, allocations: 139.5 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.2926, allocations: 147.4 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.2926, allocations: 28 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.2927, allocations: 32 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.2928, allocations: 75.8 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2929, allocations: 135.3 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2932, allocations: 306.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2932, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2932, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2932, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 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.001107/0.2943, allocations: 0.6234 MB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2944, allocations: 16.02 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.2944, allocations: 62.67 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.2945, allocations: 28.8 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2947, allocations: 212.8 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.2949, allocations: 264.2 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.295, allocations: 32.38 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.2954, allocations: 257.7 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2954, allocations: 4 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.2955, allocations: 8 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2955, allocations: 8 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.2959, allocations: 171.8 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2969, allocations: 0.7854 MB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.2974, allocations: 207.7 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.2976, allocations: 135.5 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.2977, allocations: 8.359 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/0.2982, allocations: 315.3 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.2982, allocations: 0 / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.0009851/0.2992, allocations: 491 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.2993, allocations: 110.8 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2994, allocations: 175.5 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.2995, allocations: 41.69 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.2996, allocations: 121.3 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2997, allocations: 154.8 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2998, allocations: 110.2 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3, allocations: 338.8 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.3003, allocations: 149.2 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.3007, allocations: 252.8 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.3013, allocations: 394 kB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3013, allocations: 0 / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008207/0.3021, allocations: 497.6 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3022, allocations: 12 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3022, allocations: 4.094 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3022, allocations: 7.984 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.3026, allocations: 95.83 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.3026, allocations: 11.92 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.3028, allocations: 51.75 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.3029, allocations: 20 kB / 1.23 GB, free: 3.625 MB / 0.9825 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.0001498/0.303, allocations: 160 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.3031, allocations: 39.73 kB / 1.23 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.3032, allocations: 29.88 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3032, allocations: 4 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3032, allocations: 0 / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3032, allocations: 7.984 kB / 1.23 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.3035, allocations: 353.2 kB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3036, allocations: 3.938 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.3039, allocations: 83.83 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.304, allocations: 0 / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.304, allocations: 15.98 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.304, allocations: 80 / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.304, allocations: 4.047 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.305, allocations: 0.5864 MB / 1.231 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.3051, allocations: 112.8 kB / 1.231 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.3052, allocations: 7.984 kB / 1.231 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3054, allocations: 31.97 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3055, allocations: 51.94 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.3056, allocations: 19.98 kB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.76e-05/0.3057, allocations: 129.2 kB / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3057, allocations: 0 / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000299/0.306, allocations: 87.92 kB / 1.232 GB, free: 1.812 MB / 0.9825 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.001341/0.3073, allocations: 1.148 MB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006779/0.308, allocations: 386.7 kB / 1.233 GB, free: 264 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.308, allocations: 4.188 kB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.3084, allocations: 189.8 kB / 1.233 GB, free: 72 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3087, allocations: 43.91 kB / 1.234 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.3126, allocations: 3.154 MB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3129, allocations: 0.7647 MB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.3131, allocations: 43.14 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3132, allocations: 94.66 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3132, allocations: 0 / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.816/5.129, allocations: 6.546 MB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/17.72, allocations: 15.22 kB / 1.244 GB, free: 5.398 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1)